diff options
Diffstat (limited to 'init')
-rw-r--r-- | init | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ if [ -z "${nfsroot}" -a "${root}" != "/dev/nfs" ]; then else for dir in /sys/block/*; do if [ -f ${dir}/${root:5}/dev ]; then - rootdev="$(cat /sys/block/${dir}/${root:5}/dev | sed 's|:| |')" + rootdev="$(cat ${dir}/${root:5}/dev | sed 's|:| |')" break fi done |