Skip to content

Commit

Permalink
removed unnecessary "else" from if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyre221 authored Nov 23, 2023
1 parent aa973ed commit 003cb90
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ path="$(echo "$path" | rev | cut -d'/' -f2-100 | rev)"
elif [ -e "$path" ]; then
# if the path is valid (the user had selected a file), set the variable to "-s"(selected):
parameter="-s"
else
echo invalid path
exit 1
fi


Expand Down

0 comments on commit 003cb90

Please sign in to comment.