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
commitb1bbde2344e1cb1b15537168f8a850280b5c405e (patch)
tree6a228e914709a0d79ecd66e11fb4ff729cb843c1 /sys-apps/hdparm/files
parentAdded a patch for the CAN-2004-0415 vulnerability, bug #59378. (Manifest reco... (diff)
downloadgentoo-2-b1bbde2344e1cb1b15537168f8a850280b5c405e.tar.gz
gentoo-2-b1bbde2344e1cb1b15537168f8a850280b5c405e.tar.bz2
gentoo-2-b1bbde2344e1cb1b15537168f8a850280b5c405e.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