summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c787d0)
raw | patch | inline | side by side (parent: 9c787d0)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Mar 2009 14:09:15 +0000 (14:09 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Mar 2009 14:09:15 +0000 (14:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13552 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 932f2878fbe313108db5e418d02caab8ae9b14f4..3c657457425d9333f8d71f82edd2f26fe10e308c 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
my ($dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = stat($log_file);
if((not $uid eq $root_uid) || (not $gid eq $adm_gid)) {
chown($root_uid, $adm_gid, $log_file);
- }
+ }
chomp($msg);
#$msg =~s/\n//g; # no newlines are allowed in log messages, this is important for later log parsing
if( -f "/proc/$pid/stat" ) {
my($stat) = `cat /proc/$pid/stat` =~ m/$pid \((.+)\).*/;
if( $stat ) {
- daemon_log("ERROR: Already running",1);
+ print STDERR "\nERROR: Already running!\n";
close( LOCK_FILE );
exit -1;
}