summaryrefslogtreecommitdiff
path: root/dracut-catimages.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-04 12:29:59 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-04 12:31:15 +0200
commitb093aa2dc72b3424be0b6720ac5069b9b1574f81 (patch)
tree96089943337b7bcdbcf4d7bca1a31748022207db /dracut-catimages.sh
parent32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4 (diff)
downloaddracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.tar.gz
dracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.tar.bz2
dracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.zip
beautified shell code
checked with shellcheck http://www.shellcheck.net/about.html
Diffstat (limited to 'dracut-catimages.sh')
-rwxr-xr-xdracut-catimages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dracut-catimages.sh b/dracut-catimages.sh
index 7ede1f73..73dbea51 100755
--- a/dracut-catimages.sh
+++ b/dracut-catimages.sh
@@ -118,11 +118,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"