use SS_RC_FIRST and SS_RC_LAST

This commit is contained in:
Andreas Steffen
2009-08-06 16:42:44 +02:00
parent 3646c8a159
commit 5d8306de68
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -103,8 +103,7 @@ static void fsig(int signal)
else if (WIFEXITED(status))
{
exit_status = WEXITSTATUS(status);
if (exit_status >= SS_RC_LIBSTRONGSWAN_INTEGRITY &&
exit_status <= SS_RC_INITIALIZATION_FAILED)
if (exit_status >= SS_RC_FIRST && exit_status <= SS_RC_LAST)
{
_action_ = FLAG_ACTION_QUIT;
}