summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-06-03 12:10:19 +0200
committerAnton Khirnov <anton@khirnov.net>2021-06-03 12:10:19 +0200
commit5353e22022029dcfdcb7dd25cc3a98fb9f22a83d (patch)
treeccbeee3f952dafa0d972484e35b3346b98605d90 /bin
parent9fb89fa21bccb7869111508871a4205dd2b47e49 (diff)
bin/ups: use 'stdin' as the name when reading from stdin, rather than '-'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ups2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ups b/bin/ups
index 7011747..eac54f9 100755
--- a/bin/ups
+++ b/bin/ups
@@ -24,7 +24,7 @@ elif len(sys.argv) == 2 and sys.argv[1] != '-':
stdin = subprocess.DEVNULL
else:
src_name = '-'
- dst_name = src_name
+ dst_name = 'stdin'
stdin = subprocess.PIPE
# try to guess the extension