diff --git a/soil/web.sh b/soil/web.sh index ffdfc1481..d5cb27b6d 100755 --- a/soil/web.sh +++ b/soil/web.sh @@ -127,7 +127,7 @@ cleanup-status-api() { local dir=$SOIL_HOST_DIR/uuu/status-api/github - pushd $dir + pushd $dir > /dev/null case $dry_run in false) # delete all but the last 30 @@ -136,12 +136,14 @@ cleanup-status-api() { true) # TODO: fix spew #ls | head -n -30 - ls | head + echo 'Last 10 status entries' + echo + ls | tail ;; *) log 'Expected true or false for dry_run' esac - popd + popd > /dev/null } event-job-done() {