]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dmsquash-live/dmsquash-live-root: det_img_fs() redirect udevadm output to stderr
authorHarald Hoyer <harald@redhat.com>
Thu, 13 Oct 2016 07:20:33 +0000 (09:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 13 Oct 2016 07:20:33 +0000 (09:20 +0200)
Otherwise the output is taken as input for modprobe.

modules.d/90dmsquash-live/dmsquash-live-root.sh

index 68d076cb9432b341a9a55143766c98b36eda7d06..e58d7c222c741e30efccae8128fa42033a15cc5f 100755 (executable)
@@ -57,7 +57,7 @@ ln -s $livedev /run/initramfs/livedev
 
 # determine filesystem type for a filesystem image
 det_img_fs() {
-    udevadm settle
+    udevadm settle >&2
     blkid -s TYPE -u noraid -o value "$1"
 }