X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=bfc16af44aadcb7402a9d9e152a451741e7c2428;hb=046a10d692d1ac22de4daf783ee4fe025c4eb6ec;hp=2cc98d13b01cc92acd6c4966e4f0eb0a7816d0d7;hpb=01053c258e27dfd7c2009b0d2d251ea0dc96b15f;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 2cc98d13..bfc16af4 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1,6 +1,6 @@ /* tincctl.c -- Controlling a running tincd - Copyright (C) 2007-2018 Guus Sliepen + Copyright (C) 2007-2021 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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()) {