diff options
author | ivan <ivan> | 2006-07-16 00:55:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-07-16 00:55:06 +0000 |
commit | 580330233cbf32c58d9f29dc391bd2ebd83e16d5 (patch) | |
tree | 117d21cbaa15b43193432588516ad978254da167 /fs_selfservice/FS-SelfService/freeside-selfservice-clientd | |
parent | 11f98403d0c7bf158ad0f71120e15c0bdf3d792c (diff) |
odds and ends
Diffstat (limited to 'fs_selfservice/FS-SelfService/freeside-selfservice-clientd')
-rw-r--r-- | fs_selfservice/FS-SelfService/freeside-selfservice-clientd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/freeside-selfservice-clientd b/fs_selfservice/FS-SelfService/freeside-selfservice-clientd index ededfa6e9..bdc8e1547 100644 --- a/fs_selfservice/FS-SelfService/freeside-selfservice-clientd +++ b/fs_selfservice/FS-SelfService/freeside-selfservice-clientd @@ -57,8 +57,9 @@ if ( -e $pid_file ) { open(PIDFILE,"<$pid_file"); my $old_pid = <PIDFILE>; close PIDFILE; - $old_pid =~ /^(\d+)$/; - kill 'TERM', $1; + if ( $old_pid =~ /^(\d+)$/ ) { + kill 'TERM', $1; + } } open(PIDFILE,">$pid_file"); print PIDFILE "$$\n"; |