Mathieu Sauve-Frankel [EMAIL PROTECTED] wrote: > > if [ -x /root/reboot_notification ]; then > > You probably want to use -f here, not -x. man test. >
No, if he's trying to execute it on the next line, then testing for the execute bit is the proper thing to do.

