From f4719f21cf1c25eb9a71f98c8db2c28ab933419d Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 3 Nov 2008 17:50:59 +0100 Subject: 2 bugfixes --- src/core/libs/lib-misc.sh | 2 +- src/core/libs/lib-ui-interactive.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/core/libs/lib-misc.sh b/src/core/libs/lib-misc.sh index bc9b150..41c0a2c 100644 --- a/src/core/libs/lib-misc.sh +++ b/src/core/libs/lib-misc.sh @@ -15,7 +15,7 @@ run_background () touch /tmp/$1-running echo "$1 progress ..." > $3; \ echo >> $3; \ - eval "$1" >>$3 2>&1 + eval "$2" >>$3 2>&1 echo $? > /tmp/.$1-retcode echo >> $3 rm -f /tmp/$1-running diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index d35b6a4..d315c3e 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -2,7 +2,7 @@ #TODO: get backend code out of here!! interactive_partition() { - _umountall + target_umountall # Select disk to partition DISCS=$(finddisks _) @@ -223,7 +223,7 @@ interactive_autoprepare() rm -f /tmp/.fstab - _umountall + target_umountall # setup input var for sfdisk for fsspec in $FSSPECS; do @@ -352,7 +352,7 @@ interactive_mountpoints() { ask_yesno "Would you like to create and mount the filesytems like this?\n\nSyntax\n------\nDEVICE:TYPE:MOUNTPOINT:FORMAT\n\n$(for i in $(cat /tmp/.parts); do echo "$i\n";done)" 18 0 && PARTFINISH="DONE" done - _umountall + target_umountall for line in $(cat /tmp/.parts); do PART=$(echo $line | cut -d: -f 1) -- cgit v1.2.3-54-g00ecf