Fix if statement
This commit is contained in:
parent
299bed21b7
commit
a4fbce3d94
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if $# -ne 1; then
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Please provide the path to one video file"
|
||||
$(exit 1); echo "$?"
|
||||
fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if $# -ne 3; then
|
||||
if [ $# -ne 3 ]; then
|
||||
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
|
||||
$(exit 1); echo "$?"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user