diff options
author | Harald Hoyer <harald@redhat.com> | 2013-06-28 10:31:18 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-06-28 10:31:18 +0200 |
commit | 32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4 (patch) | |
tree | 77496ecfc6b5a08e5b61e7a892185e319d4f7a4d /50-dracut.install | |
parent | 1d84d6940e5242220bc478647c56aae02c4263d3 (diff) | |
download | dracut-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-x | 50-dracut.install | 2 |
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 |