Fix bug caused by typo

Previously one couldn't open if single file was selected, this commit
fixes that.
This commit is contained in:
suman chapai 2022-08-12 15:35:13 -05:00
parent 03af623f10
commit b27a2a6bc8
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ if [ -s "$sel" ]; then
no_of_files=${#targets[@]}
# Open only if > 1 file
if (( no_of_files > 1 ))
# Open if at least one file
if (( no_of_files > 0 ))
then
$OPENER -p "${targets[@]}"
fi