aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb
diff options
context:
space:
mode:
Diffstat (limited to 'src/fripost-partman-udeb')
-rw-r--r--src/fripost-partman-udeb/base.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh
index bca1ea2..3266bc6 100644
--- a/src/fripost-partman-udeb/base.sh
+++ b/src/fripost-partman-udeb/base.sh
@@ -81,7 +81,7 @@ fripost_wipe() {
fifo=$(mktemp -u)
/bin/mknod "$fifo" p || exit 1
- trap 'echo kill $pid' EXIT
+ trap 'kill $pid' EXIT
$wipe 2> "$fifo" & pid=$!
heartbeat $pid USR1 &
@@ -282,7 +282,7 @@ fripost_encrypt() {
fifo=$(mktemp -u)
/bin/mknod "$fifo" p || exit 1
- trap 'echo kill $pid' EXIT
+ trap 'kill $pid' EXIT
stdbuf /sbin/cryptsetup -q "$@" --key-file="$keyfile" luksFormat "$device" \
| stdbuf sed -nr 's/^Generating key \(([0-9]+)% done\)\.$/\1/p' > "$fifo" & pid=$!
@@ -374,7 +374,7 @@ fripost_mkfs() {
fifo=$(mktemp -u)
/bin/mknod "$fifo" p || exit 1
- trap 'echo kill $pid' EXIT
+ trap 'kill $pid' EXIT
/sbin/mkfs."$type" "$@" "$device" | tr '\b' '\n' > "$fifo" & pid=$!
while read -u 7 line; do