From e01b0d2dac1727cc50f523cd8722ea5dd74f8429 Mon Sep 17 00:00:00 2001 From: vimacs Date: Mon, 9 Nov 2009 22:34:15 +0100 Subject: [PATCH] Fixed stupid error that prevented -m and -u to work without -e modified: pnd_run.sh --- testdata/scripts/pnd_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/scripts/pnd_run.sh b/testdata/scripts/pnd_run.sh index a55f548..e95f033 100755 --- a/testdata/scripts/pnd_run.sh +++ b/testdata/scripts/pnd_run.sh @@ -51,7 +51,7 @@ if [ ! $PND ]; then #check if theres a pnd suplied, need to clean that up a bit exit 1 fi if [ ! $EXENAME ]; then - if [ ! $mount ] || [ ! $umount ]; then + if [ ! $mount ] && [ ! $umount ]; then echo "Usage: pnd_run.sh -p your.pnd -e executeable [-a \"(arguments)\"] [ -s \"cd to folder inside pnd\"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]" echo "Usage for mounting/umounting pnd_run.sh -p your.pnd -b uid -m or -u" exit 1 -- 2.39.5