aboutsummaryrefslogtreecommitdiff
path: root/pool.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pool.sh')
-rwxr-xr-xpool.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pool.sh b/pool.sh
index 7336545..6f3262f 100755
--- a/pool.sh
+++ b/pool.sh
@@ -121,6 +121,11 @@ wait_pool() {
done
}
+status() {
+ refresh
+ cat "${POOL_STATUS}"
+}
+
list_output() {
refresh
find "${POOL}" -name "out_*"
@@ -214,6 +219,10 @@ case "$CMD" in
check_pool
resume
;;
+ "status")
+ check_pool
+ status
+ ;;
*)
abort "Command $CMD unknown"
esac