any.linux12
March 30th, 2009, 07:27 AM
Hello
I've a unix script (/bin/sh) where I've a zenity --question because I want to ask the user if he is sure that he wants to delete the file.
The problem is, if the user says "OK" it deletes but if the user says cancel it also deletes
How can I close the script if the user says cancel??
by the way, the is to apply in SVN working copies, thats why I need to be sure.
thanks
I've a unix script (/bin/sh) where I've a zenity --question because I want to ask the user if he is sure that he wants to delete the file.
The problem is, if the user says "OK" it deletes but if the user says cancel it also deletes
How can I close the script if the user says cancel??
by the way, the is to apply in SVN working copies, thats why I need to be sure.
thanks