]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh:get_persistent_dev(): use printf, instead of echo
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 10:36:04 +0000 (12:36 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 10:36:04 +0000 (12:36 +0200)
dracut-functions.sh

index b07063fddc093546412b13a6a35652be25dc7d64..9286828277858c10cf6d1b34fabb170772f0fd5e 100755 (executable)
@@ -388,7 +388,7 @@ get_persistent_dev() {
             return
         fi
     done
-    echo $1
+    printf -- "%s" "$1"
 }
 
 expand_persistent_dev() {