aboutsummaryrefslogtreecommitdiffstats
path: root/bin/nfcollect.c
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2019-04-04 21:16:56 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2019-04-07 22:36:00 +0800
commit87f3262b61616634677e57d25798f27c82fb5465 (patch)
tree0b79589c2e9e8281ae740f890a58cad871fd51a1 /bin/nfcollect.c
parentce362d2cc493debf6f52117cb88547c224ea84bc (diff)
downloadnfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar.gz
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar.bz2
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar.lz
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar.xz
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.tar.zst
nfcollect-87f3262b61616634677e57d25798f27c82fb5465.zip
Fix check_dir bug
Diffstat (limited to 'bin/nfcollect.c')
-rw-r--r--bin/nfcollect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nfcollect.c b/bin/nfcollect.c
index 52791f8..1772c60 100644
--- a/bin/nfcollect.c
+++ b/bin/nfcollect.c
@@ -119,7 +119,7 @@ int main(int argc, char *argv[]) {
g.compression_type = get_compression(compression_flag);
if (check_basedir_exist(storage) < 0)
- FATAL("Storage directory does not exist");
+ FATAL("Storage directory: %s does not exist", storage);
// register signal handler
if (signal(SIGHUP, sig_handler) == SIG_ERR)