Blame 0053-dracut.sh-corrected-error-messages-if-mktemp-failed.patch

Harald Hoyer cc894b
From fbf658fece613a838f2d1b0acfc78f670799e3da Mon Sep 17 00:00:00 2001
Harald Hoyer cc894b
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer cc894b
Date: Mon, 9 Jul 2012 10:02:35 +0200
Harald Hoyer cc894b
Subject: [PATCH] dracut.sh: corrected error messages, if mktemp failed
Harald Hoyer cc894b
Harald Hoyer cc894b
---
Harald Hoyer cc894b
 dracut.sh |    2 +-
Harald Hoyer cc894b
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer cc894b
Harald Hoyer cc894b
diff --git a/dracut.sh b/dracut.sh
Harald Hoyer cc894b
index 0b43f44..9be7cac 100755
Harald Hoyer cc894b
--- a/dracut.sh
Harald Hoyer cc894b
+++ b/dracut.sh
Harald Hoyer cc894b
@@ -577,7 +577,7 @@ fi
Harald Hoyer cc894b
 readonly TMPDIR="$tmpdir"
Harald Hoyer cc894b
 readonly initdir=$(mktemp --tmpdir="$TMPDIR/" -d -t initramfs.XXXXXX)
Harald Hoyer cc894b
 [ -d "$initdir" ] || {
Harald Hoyer cc894b
-    echo "dracut: mktemp --tmpdir=\"$TMPDIR/\" -d -t initramfs.XXXXXXfailed." >&2
Harald Hoyer cc894b
+    echo "dracut: mktemp --tmpdir=\"$TMPDIR/\" -d -t initramfs.XXXXXX failed." >&2
Harald Hoyer cc894b
     exit 1
Harald Hoyer cc894b
 }
Harald Hoyer cc894b