diff --git a/bin/video2gif b/bin/video2gif index 8e817ff..053f1a1 100755 --- a/bin/video2gif +++ b/bin/video2gif @@ -5,7 +5,7 @@ if [ $# -ne 3 ]; then exit 1 fi -if [ ! -f $1 ]; then +if [ ! -f "$1" ]; then echo -e "\033[31;1merror:\033[0m couldn't open $1: no such file." exit fi