diff options
author | Eric Andersen | 2000-07-28 15:20:24 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-28 15:20:24 +0000 |
commit | d5704686b14b9cd5ae588148269cad9d7f3f1e63 (patch) | |
tree | 1da97a42967f0df7228b9a3740c9471abb344e5c /archival | |
parent | 1428c4f13679935682a7c0d6d8193499afe20284 (diff) | |
download | busybox-d5704686b14b9cd5ae588148269cad9d7f3f1e63.zip busybox-d5704686b14b9cd5ae588148269cad9d7f3f1e63.tar.gz |
Fix from Robert Kaiser for stdin behavior.
-Erik
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c index 6f18dc4..3227ce5 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -167,7 +167,7 @@ extern int tar_main(int argc, char **argv) tarName = *(++argv); if (tarName == NULL) fatalError( "Option requires an argument: No file specified\n"); - if (!strcmp(tarName, "-")) + if (!strcmp(tarName, "-") && createFlag == TRUE) tostdoutFlag = TRUE; stopIt=TRUE; break; |