mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[ping] Return 1 if an error occurs during parameter parsing or socket setup
See issue #6206 for more details. svn path=/trunk/; revision=51593
This commit is contained in:
parent
5ca533b988
commit
720bbb3f51
1 changed files with 4 additions and 0 deletions
|
@ -727,6 +727,10 @@ int wmain(int argc, LPWSTR argv[])
|
|||
FormatOutput(IDS_MIN_MAX_AVERAGE, MinTime, MaxTime, AvgTime);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue