[X2Go-Commits] [x2goserver] 05/06: x2goserver/sbin/x2gocleansessions: whitespace only.

git-admin at x2go.org git-admin at x2go.org
Wed Oct 11 08:18:07 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit a93efd2058704e5f6e25458b03c9bbcbdd8cb94c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Oct 11 08:02:52 2017 +0200

    x2goserver/sbin/x2gocleansessions: whitespace only.
    
    Cherry-picked from release/4.0.1.x branch.
---
 debian/changelog                  | 1 +
 x2goserver/sbin/x2gocleansessions | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1810c58..5c2e4d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -275,6 +275,7 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
       "garbage" in this way (and one user actually did.)
     - x2goserver/bin/x2golistshadowsessions: whitespace only.
     - x2goserver/sbin/x2gocleansessions: close syslog at program exit.
+    - x2goserver/sbin/x2gocleansessions: whitespace only.
   * x2goserver.spec:
     - Add mandatory perl-generators Build-Requires as per
       https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl
diff --git a/x2goserver/sbin/x2gocleansessions b/x2goserver/sbin/x2gocleansessions
index 8a36044..dbaa7c4 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -105,11 +105,11 @@ if (! $debug)
 	$pid = fork();
 }
 
-if ((!$debug) && (not defined $pid)) 
+if ((!$debug) && (not defined $pid))
 {
 	print "resources not avilable.\n";
 }
-elsif ($pid != 0) 
+elsif ($pid != 0)
 {
 	open (F,">/var/run/x2goserver.pid");
 	print F "$pid\n";
@@ -119,7 +119,7 @@ elsif ($pid != 0)
 elsif ($pid == 0 )
 {
 	# check if we are to use the superenicer script for throttling does the nice level
-        # of suspended sessions...
+	# of suspended sessions...
 	my $Config = get_config();
 
 	my $superenice_enable = is_true($Config->param("superenicer.enable"));
@@ -412,4 +412,3 @@ This manual has been written by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
 for the X2Go project (http://www.x2go.org).
 
 =cut
-

--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list