From c6997ba19ee5fdbaca49c55c8802f6b75a74c65f Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Fri, 17 Aug 2012 07:57:08 +0800 Subject: [PATCH] Print error message to stderr (Fix bug 5731) As stdout is redirected to /dev/null by some DMs, we need to print error messages to stderr. --- data/autostart/openbox-xdg-autostart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/autostart/openbox-xdg-autostart b/data/autostart/openbox-xdg-autostart index ea760281..04a17a19 100755 --- a/data/autostart/openbox-xdg-autostart +++ b/data/autostart/openbox-xdg-autostart @@ -29,7 +29,7 @@ try: from xdg.Exceptions import ParsingError except ImportError: print - print "ERROR:", ME, "requires PyXDG to be installed" + print >>sys.stderr, "ERROR:", ME, "requires PyXDG to be installed" print sys.exit(1) -- 2.45.2