Blame 0028-dracut-functions.sh-get_persistent_dev-use-printf-in.patch
|
Harald Hoyer |
89f6fa |
From 9efb74a32d34533f7ccb201160ea0e40adc13987 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
89f6fa |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
89f6fa |
Date: Fri, 15 Aug 2014 12:36:04 +0200
|
|
Harald Hoyer |
89f6fa |
Subject: [PATCH] dracut-functions.sh:get_persistent_dev(): use printf, instead
|
|
Harald Hoyer |
89f6fa |
of echo
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
---
|
|
Harald Hoyer |
89f6fa |
dracut-functions.sh | 2 +-
|
|
Harald Hoyer |
89f6fa |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
Harald Hoyer |
89f6fa |
index b07063f..9286828 100755
|
|
Harald Hoyer |
89f6fa |
--- a/dracut-functions.sh
|
|
Harald Hoyer |
89f6fa |
+++ b/dracut-functions.sh
|
|
Harald Hoyer |
89f6fa |
@@ -388,7 +388,7 @@ get_persistent_dev() {
|
|
Harald Hoyer |
89f6fa |
return
|
|
Harald Hoyer |
89f6fa |
fi
|
|
Harald Hoyer |
89f6fa |
done
|
|
Harald Hoyer |
89f6fa |
- echo $1
|
|
Harald Hoyer |
89f6fa |
+ printf -- "%s" "$1"
|
|
Harald Hoyer |
89f6fa |
}
|
|
Harald Hoyer |
89f6fa |
|
|
Harald Hoyer |
89f6fa |
expand_persistent_dev() {
|