Warning fixes in monkey.sh cause why not

This commit is contained in:
Daniel Goldberg 2020-01-20 08:31:44 +02:00
parent 27405f7b62
commit 40f7fd09ec
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
MACHINE_TYPE=$(uname -m)
if [ "${MACHINE_TYPE}" == 'x86_64' ]; then
# 64-bit stuff here
ARCH=64
else
@ -11,4 +11,4 @@ fi
MONKEY_FILE=monkey-linux-$ARCH
cp -f /var/monkey/monkey_island/cc/binaries/$MONKEY_FILE /tmp
/tmp/$MONKEY_FILE m0nk3y $@
/tmp/$MONKEY_FILE m0nk3y "$@"