From d260b3b40358aaa9a159681271e7420842015a61 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 26 Nov 2012 20:58:27 +0100 Subject: sotruss: fix argument parsing --- elf/sotruss.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elf') diff --git a/elf/sotruss.ksh b/elf/sotruss.ksh index 587ab68987..8390b6c501 100755 --- a/elf/sotruss.ksh +++ b/elf/sotruss.ksh @@ -94,14 +94,14 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. do_missing_arg "$1" fi shift - SOTRUSS_FROMLIST="$2" + SOTRUSS_FROMLIST="$1" ;; -T | --t | --to) if test $# -eq 1; then do_missing_arg "$1" fi shift - SOTRUSS_TOLIST="$2" + SOTRUSS_TOLIST="$1" ;; -o | --o | --ou | --out | --outp | --outpu | --output) if test $# -eq 1; then -- cgit v1.2.1