Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Quote argument to [ -z ] in shell script to avoid '[: too many arguments' error. --- /etc/init.d/hdparm.broke 2004-08-20 03:55:34.405137408 -0400 +++ /etc/init.d/hdparm 2004-08-20 03:49:27.919851640 -0400 @@ -61,7 +61,7 @@ fi done - [ -z $args ] && for alias in /dev/discs/* + [ -z "$args" ] && for alias in /dev/discs/* do if [ $alias/disc -ef $device ] then
Fixed in CVS, thanks.