fixed pid file
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 26 Jan 2011 21:45:30 +0000 (21:45 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 26 Jan 2011 21:45:30 +0000 (21:45 +0000)
bin/BackupPC_ASA_PostDump_SearchUpdate

index 8bf5041..3c065a0 100755 (executable)
@@ -30,7 +30,7 @@ my $pid_path = abs_path($0);
 $pid_path =~ s/\W+/_/g;
 
 my $pidfile = new File::Pid({
 $pid_path =~ s/\W+/_/g;
 
 my $pidfile = new File::Pid({
-       file => "/tmp/$pid_path",
+       file => "/tmp/search_update.pid",
 });
 
 if (my $pid = $pidfile->running ) {
 });
 
 if (my $pid = $pidfile->running ) {