Uzbl

Tasklist

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
Task Type Bug Report
Category uzbl-browser & sample material
Status Closed
Assigned To No-one
Operating System Linux
Severity Very Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The 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
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.

Loading...