aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-07-27 19:26:15 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-07-27 19:26:15 +0000
commit01d77a905b570915a84c6e8c8be38241c482cdfe (patch)
tree5ba09c34c8a62ba99ec573573c79d09f53c3a2dd /share
parent9658140fe6e82d306293458fcd65af1c6bf353ce (diff)
downloadmsec-01d77a905b570915a84c6e8c8be38241c482cdfe.tar
msec-01d77a905b570915a84c6e8c8be38241c482cdfe.tar.gz
msec-01d77a905b570915a84c6e8c8be38241c482cdfe.tar.bz2
msec-01d77a905b570915a84c6e8c8be38241c482cdfe.tar.xz
msec-01d77a905b570915a84c6e8c8be38241c482cdfe.zip
corrected last argument processing.
Diffstat (limited to 'share')
-rwxr-xr-xshare/msec4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/msec b/share/msec
index 08e2632..b9079b8 100755
--- a/share/msec
+++ b/share/msec
@@ -43,11 +43,11 @@ for a in "$@"; do
else
if [ "$NEXT" = 1 ]; then
OPT="$OPT $a"
+ else
+ last="$a"
fi
NEXT=0
fi
-
- last="$a"
done
if [ -n "$last" ]; then