First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60989
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Buxton <somercet@fastmail.fm>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60989 depends on: Show dependency tree
Bug 60989 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-20 00:59 0000
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

------- Comment #1 From Jon Portnoy (RETIRED) 2004-08-20 01:17:50 0000 -------
Fixed in CVS, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug