summaryrefslogtreecommitdiff
path: root/50-dracut.install
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-06-28 10:31:18 +0200
committerHarald Hoyer <harald@redhat.com>2013-06-28 10:31:18 +0200
commit32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4 (patch)
tree77496ecfc6b5a08e5b61e7a892185e319d4f7a4d /50-dracut.install
parent1d84d6940e5242220bc478647c56aae02c4263d3 (diff)
downloaddracut-32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4.tar.gz
dracut-32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4.tar.bz2
dracut-32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4.zip
use "rm --" to guard against filenames beginning with "-"
Diffstat (limited to '50-dracut.install')
-rwxr-xr-x50-dracut.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/50-dracut.install b/50-dracut.install
index 6b63da93..a0623a1c 100755
--- a/50-dracut.install
+++ b/50-dracut.install
@@ -26,7 +26,7 @@ case "$1" in
ret=$?
;;
remove)
- rm -f "$3"/initrd
+ rm -f -- "$3"/initrd
ret=$?
;;
esac