diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2019-01-24 23:44:58 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2019-01-24 23:44:58 +0200 |
commit | 138e95eec2483851a5b5ac2b2ceb0a813dbd49d8 (patch) | |
tree | fc57c6a46de6a7f61bd67de186d1f5fa167ec850 /src/ck.c | |
parent | cfa0a7b2bddf7f0ed29b5c0413809ab10153a6bf (diff) | |
download | ck-138e95eec2483851a5b5ac2b2ceb0a813dbd49d8.tar.gz ck-138e95eec2483851a5b5ac2b2ceb0a813dbd49d8.tar.bz2 ck-138e95eec2483851a5b5ac2b2ceb0a813dbd49d8.zip |
Return 0 when printing version info
Diffstat (limited to 'src/ck.c')
-rw-r--r-- | src/ck.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ int main(int argc, const char **argv) { /* get user opt */ if (parse_action(argc, argv, &opt)) { + if(opt.version) rc = 0; goto error; } /* If the action is init or help don't load the config, skip to running it*/ |