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