diff options
-rwxr-xr-x | liveinit.tpl | 2 |
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" } |