From 9dc631b79fe198fcca0e59a921cc2b6d43146c84 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Tue, 29 Jun 2010 12:17:03 +0000 Subject: [PATCH] fix FS#809 [[Imported from SVN: r6055]] --- bin/dunecontrol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/dunecontrol b/bin/dunecontrol index bc9e4ce43..893986c4f 100755 --- a/bin/dunecontrol +++ b/bin/dunecontrol @@ -506,6 +506,7 @@ export ONLY="" # parse commandline parameters while test $# -gt 0; do # get option + command=$1 option=$1 # get args @@ -631,12 +632,12 @@ while test $# -gt 0; do done # we assume there should be a command... -if test "x$1" = "x"; then +if test "x$command" = "x"; then usage exit 1 fi -case "$1" in +case "$command" in print) create_module_list eval "print_module_list ' ' $MODULES" -- GitLab