diff --git a/jptgdp b/jptgdp index 268298f..a0c5978 100755 --- a/jptgdp +++ b/jptgdp @@ -84,7 +84,7 @@ EOF } rofimenu() { validatedeps rofi || error "$_return is not currently installed" 1 - [ -d "$_optrofi" ] || error "Could not open directory \"$_optrofidir\"" 2 + [ -d "$_optrofi" ] || error "Could not open directory \"$_optrofi\"" 2 files=$(find "$_optrofi" -type f -name \*.gdp) if [ -n "$files" ]; then # Strip file suffixes for a cleaner menu