summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-05 11:23:41 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-05 11:23:41 +0000
commit24f9510eda5ed79268d3f4f0bc744b88a1d8a495 (patch)
tree7b14ab2bab20a18e34aa074d21989530d896f94b /sys-apps/hdparm/files
parentAdded a patch for the CAN-2004-0415 vulnerability, bug #59378. (diff)
downloadhistorical-24f9510eda5ed79268d3f4f0bc744b88a1d8a495.tar.gz
historical-24f9510eda5ed79268d3f4f0bc744b88a1d8a495.tar.bz2
historical-24f9510eda5ed79268d3f4f0bc744b88a1d8a495.zip
fix another bug with more than one argument, bug #59497
Diffstat (limited to 'sys-apps/hdparm/files')
-rw-r--r--sys-apps/hdparm/files/digest-hdparm-5.5-r4 (renamed from sys-apps/hdparm/files/digest-hdparm-5.5-r3)0
-rw-r--r--sys-apps/hdparm/files/hdparm-init-6 (renamed from sys-apps/hdparm/files/hdparm-init-5)2
2 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/hdparm/files/digest-hdparm-5.5-r3 b/sys-apps/hdparm/files/digest-hdparm-5.5-r4
index f3fa36d6a5d7..f3fa36d6a5d7 100644
--- a/sys-apps/hdparm/files/digest-hdparm-5.5-r3
+++ b/sys-apps/hdparm/files/digest-hdparm-5.5-r4
diff --git a/sys-apps/hdparm/files/hdparm-init-5 b/sys-apps/hdparm/files/hdparm-init-6
index 29e473506d93..96960108f928 100644
--- a/sys-apps/hdparm/files/hdparm-init-5
+++ b/sys-apps/hdparm/files/hdparm-init-6
@@ -25,7 +25,7 @@ depend() {
}
do_hdparm() {
- if [ ${args:=$all_args} ]
+ if [[ ${args:=$all_args} ]]
then
orgdevice=`readlink -f $device`
if [ -b $orgdevice ]; then