]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - dracut-catimages.sh
95iscsi: rd.iscsi.initiator should have priority over stored configuration
[thirdparty/dracut.git] / dracut-catimages.sh
index 7ede1f73cc8cad9dbf8b112e606cfa72ed65e6f0..1f53a2d3877095eeafbc9ff3c28a79ab60b40037 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/bash --norc
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
 #
 # Copyright 2009 Red Hat, Inc.  All rights reserved.
 #
@@ -118,11 +116,11 @@ fi
 images+=($@)
 
 dinfo "Using base image $baseimage"
-cat "$baseimage" > "$outfile"
+cat -- "$baseimage" > "$outfile"
 
 for i in "${images[@]}"; do
     dinfo "Appending $i"
-    cat "$i" >> "$outfile"
+    cat -- "$i" >> "$outfile"
 done
 
 dinfo "Created $outfile"