diff --git a/create_retroarch_thumbnails.sh b/create_retroarch_thumbnails.sh index dc4dfcd..cd0bbdb 100755 --- a/create_retroarch_thumbnails.sh +++ b/create_retroarch_thumbnails.sh @@ -21,7 +21,7 @@ if [ "$#" -ne 3 ]; then fi # check if the system parameter is valid -if ! echo "$SYSTEMS" | grep -w "$2" >/dev/null; then +if ! echo "$SYSTEMS" | grep -w "$1" >/dev/null; then printf "%s\n" "You must enter a valid system name." help_message exit 0