forked from speedie/spmenu
another fix
This commit is contained in:
parent
24ea28eb13
commit
cfef4e073e
|
@ -276,9 +276,15 @@ parse() {
|
|||
case "$(printf "%s" "$sout" | awk '{ print $1 }')" in
|
||||
"magnet") EXEC=torrent ;;
|
||||
"www") EXEC=web ;;
|
||||
"?") print_help "$@" && parse && exec_cmd ;;
|
||||
"?") ;;
|
||||
esac
|
||||
|
||||
if [ "$sout" = "?" ]; then
|
||||
print_help "$@"
|
||||
parse
|
||||
exec_cmd
|
||||
fi
|
||||
|
||||
printf "Type: '%s'\n" "$EXEC" >> "$LOGFILE"
|
||||
|
||||
# check for keywords
|
||||
|
|
Loading…
Reference in a new issue