diff options
-rwxr-xr-x | fs_passwd/fs_passwdd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_passwd/fs_passwdd b/fs_passwd/fs_passwdd index e72ceb7db..38079da66 100755 --- a/fs_passwd/fs_passwdd +++ b/fs_passwd/fs_passwdd @@ -33,7 +33,7 @@ if ( -e $pid_file ) { open(PIDFILE,"<$pid_file"); chomp( my $old_pid = <PIDFILE> ); close PIDFILE; - kill 'TERM', $pid_file; + kill 'TERM', $old_pid; } open(PIDFILE,">$pid_file"); print PIDFILE "$$\n"; |