Fix bug in fzopen when selection is canceled

This commit is contained in:
Tadeas Uhlir 2023-08-12 17:41:30 +02:00
parent 186f9d01ea
commit e500179188
1 changed files with 22 additions and 20 deletions

View File

@ -59,6 +59,7 @@ if [ "$3" ]; then
exit 0
fi
if [ "$entry" ]; then
if [ "$USE_NUKE" -ne 0 ]; then
"$NUKE" "$entry"
exit 0
@ -81,3 +82,4 @@ case "$($cmd_file "$entry")" in
*)
$cmd_open "$entry" >/dev/null 2>&1 ;;
esac
fi