From e2a8995682e4a1709daff0356b15e18d89ae2d99 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Wed, 6 Mar 2013 10:50:33 +0800 Subject: [PATCH] Add quotes around incorrect command name The problem I was facing was that I couldn't tell that I was typing the wrong command. --- moodle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moodle b/moodle index 130f627..284dafb 100755 --- a/moodle +++ b/moodle @@ -73,11 +73,11 @@ BIN=`resolve $COMMAND` if [ $? == 1 ] then - echo "Unknown Moodle command $1..." + echo "Unknown Moodle command '$1'..." exit 1 elif [ ! -x "$BIN" ] then - echo "Permission denied. $BIN is not executable." + echo "Permission denied. '$BIN' is not executable." exit 1 fi -- 2.11.0