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