re-applied Peter Hartlich's and Jukkas dmenu-related patches, for odd reasons they...
[dmenu.git] / dmenu_run
index 1cecc16..3e1e6e4 100755 (executable)
--- a/dmenu_run
+++ b/dmenu_run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exe=`dmenu_path | dmenu $*` && exec $exe
+exe=`dmenu_path | dmenu ${1+"$@"}` && exec $exe