diff options
author | shdown <shdownnine@gmail.com> | 2014-09-20 15:31:58 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-20 15:18:51 +0200 |
commit | dfbb4d03ee9ad19ba166f57421eb2fd880a8633f (patch) | |
tree | 7527199e9d78c0a8b37aba69d2321c3f3e4e7fae /TOOLS/umpv | |
parent | 5332ecf6517b61e556ed154a3e503f6c79d58211 (diff) | |
download | mpv-dfbb4d03ee9ad19ba166f57421eb2fd880a8633f.tar.bz2 mpv-dfbb4d03ee9ad19ba166f57421eb2fd880a8633f.tar.xz |
TOOLS/umpv: print error message to stderr
Diffstat (limited to 'TOOLS/umpv')
-rwxr-xr-x | TOOLS/umpv | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TOOLS/umpv b/TOOLS/umpv index 29affe2437..61644539b3 100755 --- a/TOOLS/umpv +++ b/TOOLS/umpv @@ -87,7 +87,8 @@ if fifo_fd >= 0: if (((st.st_mode & (stat.S_IRWXG | stat.S_IRWXO)) != 0) or (not stat.S_ISFIFO(st.st_mode)) or (st.st_uid != os.getuid())): - print("error: command FIFO is not a FIFO or has bogus permissions") + sys.stderr.write("error: command FIFO is not a FIFO or has bogus " + "permissions\n") sys.exit(1) if fifo_fd >= 0: |