quote command again

This commit is contained in:
belliash 2012-01-12 22:02:43 +01:00
parent 8413cc54cc
commit 8e0399dbaf
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ function restoreIFS() {
#-------------------------------------------------------------------------------
function run() {
local COMMAND OUTPUT RESULT
COMMAND=${@}
COMMAND="${@}"
logMessage "Executing: \"${COMMAND}\"" "DEBUG"
OUTPUT=$(eval ${COMMAND} 2>&1)
RESULT=${?}