aboutsummaryrefslogtreecommitdiff
path: root/util/fluxbox-generate_menu.in
diff options
context:
space:
mode:
Diffstat (limited to 'util/fluxbox-generate_menu.in')
-rwxr-xr-xutil/fluxbox-generate_menu.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 4c2e863..4d85db9 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -133,7 +133,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null;
133 if [ -x "$file" ]; then 133 if [ -x "$file" ]; then
134 if [ $# -gt 1 ]; then 134 if [ $# -gt 1 ]; then
135 shift 135 shift
136 $* 136 "$@"
137 fi 137 fi
138 return 0 138 return 0
139 else 139 else
@@ -153,7 +153,7 @@ if which this_program_does_not_exist-no_really-aA1zZ9 2> /dev/null 1> /dev/null;
153else 153else
154 # can rely on return value 154 # can rely on return value
155 find_it() { 155 find_it() {
156 which $1 > /dev/null 2>&1 && shift && $* 156 which $1 > /dev/null 2>&1 && shift && "$@"
157 } 157 }
158 158
159 find_it_options() { 159 find_it_options() {