[X2Go-Commits] [x2goserver] 01/04: fix for last commit
git-admin at x2go.org
git-admin at x2go.org
Fri Oct 3 14:41:16 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 961ac08a949b021ce478b7a485e7229a14555a02
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Oct 3 12:48:46 2014 +0200
fix for last commit
---
x2goserver/sbin/x2gocleansessions | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/x2goserver/sbin/x2gocleansessions b/x2goserver/sbin/x2gocleansessions
index 3d3be32..a0f27a0 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -26,7 +26,7 @@ $ENV{'PATH'} = "/bin:/sbin:/usr/bin:/usr/sbin";
use Sys::Hostname;
use Sys::Syslog qw( :standard :macros );
-use File::Remove 'remove';
+use File::Remove;
use POSIX;
use X2Go::Config qw( get_config );
@@ -167,7 +167,7 @@ elsif ($pid == 0 )
my $display = @sinfo[3];
if (-S "/tmp/.X11-unix/X$display") {
# remove the NX-X11 socket file (as the agent will not have managed after a kill -9)
- remove("/tmp/.X11-unix/X$display");
+ File::Remove::remove("/tmp/.X11-unix/X$display");
}
delete $remembered_sessions_since{@sinfo[1]};
}
@@ -182,7 +182,7 @@ elsif ($pid == 0 )
if (-S "/tmp/.X11-unix/X$display") {
# remove the NX-X11 socket file (we don't know how the agent disappeared,
# someone might have shot it with kill -9)
- remove("/tmp/.X11-unix/X$display");
+ File::Remove::remove("/tmp/.X11-unix/X$display");
}
syslog('debug', "@sinfo[1], pid @sinfo[0] does not exist, changing status from @sinfo[4] to F");
syslog('debug', "@sinfo[1]: unmounting all shares");
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list