summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-09-23 22:02:24 +0200
committer Eric Hameleers <alien@slackware.com>2017-09-23 22:02:24 +0200
commit8488371ea607ea7634d7608fac8fd959d087309d (patch)
tree87b18f88e8163cbc3cc2497a70c061da964503d9 /liveinit.tpl
parentf88bfce51cdcc82e8ec544c63145c98d2606f6f8 (diff)
downloadliveslak-8488371ea607ea7634d7608fac8fd959d087309d.tar.gz
liveslak-8488371ea607ea7634d7608fac8fd959d087309d.tar.xz
liveinit.tpl: fix a sed syntax error in find_loop()
Diffstat (limited to '')
-rwxr-xr-xliveinit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index ea88164..48f4525 100755
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -467,7 +467,7 @@ if [ "$RESCUE" = "" ]; then
lodev=/dev/loop${NOD}
elif [ ! -b $lodev ]; then
# We exhausted the available loop devices, so create the block device:
- mknod -m660 $lodev b 7 $(echo $lodev |sed %/dev/loop%%)
+ mknod -m660 $lodev b 7 $(echo $lodev |sed 's%/dev/loop%%')
fi
echo "$lodev"
}