diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-12-17 14:20:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-12-17 14:20:52 +0100 |
commit | 6f600257a5d03bfab2452da05dd62f274065c519 (patch) | |
tree | 18ce4d6e2adcf5303c77cc03c9c468a7afa251f9 /src/tc-misc.c | |
parent | 5400fb6e98435efe682b4a9de7266579b634de3c (diff) | |
parent | 96da31f8cb9ec57313ab496a9ce07b108ec3914f (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/tc-misc.c')
-rw-r--r-- | src/tc-misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tc-misc.c b/src/tc-misc.c index d422f21..1677807 100644 --- a/src/tc-misc.c +++ b/src/tc-misc.c @@ -8,7 +8,7 @@ #include <libHX/init.h> #include <libHX/misc.h> -static int runner(int argc, const char **argv) +static int runner(int argc, char **argv) { unsigned int n; struct stat sa, sb; @@ -43,10 +43,10 @@ static int runner(int argc, const char **argv) return EXIT_SUCCESS; } -int main(int argc, const char **argv) +int main(int argc, char **argv) { int ret = runner(argc, argv); - if (ret != EXIT_FAILURE) + if (ret == EXIT_FAILURE) fprintf(stderr, "FAILED\n"); return ret; } |