FS#165 - insert_bookmark.sh does not check if dialog was cancelled
Attached to Project:
Uzbl
Opened by Noel Maersk (veox) - 2009-12-24 02:48:12 PM
Last edited by Dieter Plaetinck (Dieter_be) - 2010-01-01 04:28:04 PM
Opened by Noel Maersk (veox) - 2009-12-24 02:48:12 PM
Last edited by Dieter Plaetinck (Dieter_be) - 2010-01-01 04:28:04 PM
|
DetailsThe sample insert_bookmark.sh script does not check the exit status of zenity. This simple fix should do:
insert_bookmark.sh.diff ====== 8a9,10 > exitstatus=$? > if [ $exitstatus -ne 0 ]; then exit $exitstatus; fi |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
2010-01-01 04:28:04 PM
Reason for closing: Fixed
Additional comments about closing: fixed in master
2010-01-01 04:28:04 PM
Reason for closing: Fixed
Additional comments about closing: fixed in master
Comment by Noel Maersk (veox) -
2009-12-24 02:50:38 PM
P.S. Otherwise empty lines are added to bookmarks file if zenity is cancelled.