From: Richard Hartmann Date: Sun, 22 Jan 2012 18:01:54 +0000 (+0100) Subject: Slightly better if clause X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/5a09744796fd46762c35cb9a1590c1c49cb07e3d?hp=-c Slightly better if clause --- 5a09744796fd46762c35cb9a1590c1c49cb07e3d 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