X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=bfc16af44aadcb7402a9d9e152a451741e7c2428;hb=444fd91a2138d82dc41be57fdc3ed185f6759ab0;hp=97b08cb55abe7f5815b25d72aaedacadfc08b096;hpb=1a52f8093fc2e894860aee82e4a20885099a7130;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 97b08cb5..bfc16af4 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1107,7 +1107,7 @@ static int cmd_stop(int argc, char *argv[]) { } #ifdef HAVE_MINGW - return remove_service(); + return remove_service() ? EXIT_SUCCESS : EXIT_FAILURE; #else if(!stop_tincd()) {