diff --git a/changepass.pl b/changepass.pl index f623ccf29..71b821032 100755 --- a/changepass.pl +++ b/changepass.pl @@ -50,11 +50,11 @@ foreach $v (values %users) { close(USERS); print "Updated password of Webmin user $user\n"; -# Send a signal to restart miniserv, if running +# Send a signal to have miniserv reload it's config if (open(PID, $config{'pidfile'})) { =~ /(\d+)/; $pid = $1; close(PID); - kill('HUP', $pid); + kill('USR1', $pid); } sub usage