From d825a4995fa8e663688fb106d02d14759cf58906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 20 Jul 2021 22:18:23 +0200 Subject: Fix psu --- psx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'psx') diff --git a/psx b/psx index c0df08f..1066c5f 100755 --- a/psx +++ b/psx @@ -13,8 +13,8 @@ d=$(tar -tf "$f" | head -1) opt= if [ -e "$d" ]; then - printf "%s: $d already exists; overwrite? " "${0##*/}" - read ans + printf "%s: $d already exists; overwrite? " "${0##*/}" 1>&2 + read ans &2 -tar -x $opt -f "$f" +tar -x $opt -f "$f" 1>&2 echo "$d" -- cgit v1.2.3