PDA

View Full Version : zenity --question cancel



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

any.linux12
March 30th, 2009, 08:18 AM
Hey!

I get it alone by seeing other thread. Sorry about posting something that was already where but I realy needed it done fast. Thanks anyway