Hi
Mods feel free to move if not a bug please.
getFlash.tcz installs /usr/local/bin/getflash10.sh owner root but permissions are rwx rwx rwx
Top of script is
----------------------
if [ "$USER" == "root" ]; then
echo "You do not need to run as root. Exiting."
exit 1
fi
--------------------------------------------------
1) Assuming I was NOT to be root.....I tried it as root and it did not exit.
2) I am newbie at scripts but when I made above script change to below....it killed me as a non-root user
----------------
if [ "$(whoami)" != "root" ];then
echo "you need to be root"
exit 0
fi
------------------------
So if its meant to exit for root users, current script did not exit for me.
Or
If its meant to exit for non-root users, current script did not exit for me.
regards
gordy