Download raw body.
fw_update -- clear spinner
Theo noticed that if, after we've used the spinner, we don't print any
other status, we will leave behind a | at the end of the line:
# fw_update
fw_update: add none; update vmm|
With this patch, we clear that pipe so that case looks tidier.
# fw_update
fw_update: add none; update vmm
It still looks like a spinner in my testing.
Comments, OK?
Index: fw_update.sh
===================================================================
RCS file: /cvs/src/usr.sbin/fw_update/fw_update.sh,v
retrieving revision 1.55
diff -u -p -r1.55 fw_update.sh
--- fw_update.sh 15 Nov 2023 02:07:43 -0000 1.55
+++ fw_update.sh 14 Mar 2024 01:20:24 -0000
@@ -103,6 +103,7 @@ spin() {
echo -n "$p"'\010'
sleep 0.125
done
+ echo -n " "'\010'
}>/dev/tty
}
fw_update -- clear spinner