Skip to content

Commit

Permalink
Exit explicitly after bare stop otherwise usage() is printed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeters committed Jun 27, 2020
1 parent 07c4dcb commit 7d825e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/krang_apachectl
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ if ($command eq 'stop') {

stop_pid($running, $pid_file, 'httpd') if $running;
stop_pid($offline_running, $offline_pid_file, 'offline httpd') if $offline_running;
exit;
}

if ($command eq 'restart') {
Expand Down

0 comments on commit 7d825e5

Please sign in to comment.