diff --git a/programs/net/net.c b/programs/net/net.c index db0933ae78f..60a91cc3ed2 100644 --- a/programs/net/net.c +++ b/programs/net/net.c @@ -365,7 +365,7 @@ int __cdecl wmain(int argc, const WCHAR* argv[]) if(arg_is(argv[2], L"/help")) output_string(STRING_STOP_USAGE); else if(!net_service(NET_STOP, argv[2])) - return 1; + return 2; } else if(arg_is(argv[1], L"use")) { diff --git a/programs/net/tests/net.c b/programs/net/tests/net.c index 3609486a7cc..623a4e2794a 100644 --- a/programs/net/tests/net.c +++ b/programs/net/tests/net.c @@ -62,7 +62,6 @@ static void test_stop(void) /* Stop non existing service */ run_net_exe("net stop non-existing-service", &r); - todo_wine check_exit_code(2); }