From: Harald Hoyer Date: Fri, 15 Aug 2014 10:36:04 +0000 (+0200) Subject: dracut-functions.sh:get_persistent_dev(): use printf, instead of echo X-Git-Tag: 039~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9efb74a32d34533f7ccb201160ea0e40adc13987;p=thirdparty%2Fdracut.git dracut-functions.sh:get_persistent_dev(): use printf, instead of echo --- diff --git a/dracut-functions.sh b/dracut-functions.sh index b07063fdd..928682827 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() {