From: Xin Wang Date: Thu, 16 Aug 2012 23:57:08 +0000 (+0800) Subject: Print error message to stderr (Fix bug 5731) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c6997ba19ee5fdbaca49c55c8802f6b75a74c65f;p=chaz%2Fopenbox 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. --- 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)