projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65693d1
)
Print error message to stderr (Fix bug 5731)
author
Xin Wang
<dram.wang@gmail.com>
Thu, 16 Aug 2012 23:57:08 +0000
(07:57 +0800)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 7 Oct 2012 01:56:57 +0000
(21:56 -0400)
As stdout is redirected to /dev/null by some DMs, we need to print error
messages to stderr.
data/autostart/openbox-xdg-autostart
patch
|
blob
|
history
diff --git
a/data/autostart/openbox-xdg-autostart
b/data/autostart/openbox-xdg-autostart
index
ea76028
..
04a17a1
100755
(executable)
--- 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)