[X2Go-Commits] [x2goserver] 02/02: add curly braces around STDERR file handle

git-admin at x2go.org git-admin at x2go.org
Fri Jun 27 21:55:46 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 80f9c2f1bd6baffe4bb95f9b51219f692f6e8b31
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jun 27 21:54:24 2014 +0200

    add curly braces around STDERR file handle
---
 x2goserver-printing/bin/x2goprint |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x2goserver-printing/bin/x2goprint b/x2goserver-printing/bin/x2goprint
index 26dd4c1..8c2dceb 100755
--- a/x2goserver-printing/bin/x2goprint
+++ b/x2goserver-printing/bin/x2goprint
@@ -58,7 +58,7 @@ sub check_usage
 	elsif (scalar(@ARGV) != 4)
 	{
 		syslog('err', "ERROR: x2goprint was called with a wrong number of cmd line args, x2goprint exits now!");
-		print \*STDERR "ERROR: Usage:\nx2goprint user session file titleFile\nx2goprint user\n";
+		print { \*STDERR } "ERROR: Usage:\nx2goprint user session file titleFile\nx2goprint user\n";
 		exit 1;
 	}
 }

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


More information about the x2go-commits mailing list