summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsh/setup_nemu_nonroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/setup_nemu_nonroot.sh b/sh/setup_nemu_nonroot.sh
index e2f8f61..44fa9db 100755
--- a/sh/setup_nemu_nonroot.sh
+++ b/sh/setup_nemu_nonroot.sh
@@ -29,7 +29,7 @@ else
exit 1
fi
- QEMU_BIN_PATH=$(grep qemu_bin_path ${USER_DIR}/.nemu.cfg | awk '{ printf "%s\n", $3 }')
+ QEMU_BIN_PATH=$(grep '^qemu_bin_path' ${USER_DIR}/.nemu.cfg | awk '{ printf "%s\n", $3 }')
if [ -z "$QEMU_BIN_PATH" ]; then
echo "Couldn't get qemu_bin_path from .nemu.cfg" >&2
exit 1