Skip to content

Commit

Permalink
Don't HUP if process was just started
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Jul 10, 2017
1 parent 82cc22f commit 77f5539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/ziptest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ ($)
if ($?) {
print "Starting nginx...\n";
`nginx/sbin/nginx`;
} else {
`/bin/kill -HUP $pid`;
}
`/bin/kill -HUP $pid`;
sleep 1;
}

Expand Down

0 comments on commit 77f5539

Please sign in to comment.