From 5a09744796fd46762c35cb9a1590c1c49cb07e3d Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sun, 22 Jan 2012 19:01:54 +0100 Subject: [PATCH] Slightly better if clause --- vcsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcsh b/vcsh index d3e2329..4854f5e 100755 --- a/vcsh +++ b/vcsh @@ -96,7 +96,7 @@ $files AGAIN, THIS WILL DELETE YOUR DATA! To continue, type 'Yes, do as I say'" read answer - [ "x$answer" = "xYes, do as I say" ] || exit 16 + [ "x$answer" = 'xYes, do as I say' ] || exit 16 for file in $files; do rm -f $file || info "could not delete '$file', continuing with deletion" done -- 2.39.5