1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-31 08:32:36 +00:00

Update rtinst.sh

This commit is contained in:
arakasi72
2014-09-23 21:27:05 +01:00
parent 96aa27a6dc
commit 0b800e5de2

View File

@@ -29,7 +29,7 @@ random()
while getopts ":d" optname
do
case $optname in
"d" )[ -n $OPTFLAG ] && useerr=1 || OPTFLAG=1 && DLFLAG=0 ;;
"d" )[[ -n $OPTFLAG ]] && useerr=1 || OPTFLAG=1 && DLFLAG=0 ;;
* ) echo "incorrect option, only -d allowed" && exit 1 ;;
esac
done