diff options
| author | Xin Wang <dram.wang@gmail.com> | 2012-08-17 07:57:08 +0800 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 21:56:57 -0400 |
| commit | c6997ba19ee5fdbaca49c55c8802f6b75a74c65f (patch) | |
| tree | cc77a148f765f32d23dcd7b28625ee239cc9e937 | |
| parent | 65693d18dbf9d434f8c6cd5025bf3bdfbe4d8a5c (diff) | |
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.
| -rwxr-xr-x | data/autostart/openbox-xdg-autostart | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
