2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
5 if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi
8 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
10 qlen
=$
(/usr
/sbin
/exiqgrep
-o 60 -c -b |
awk '{print $1}')
11 if [[ $qlen != 0 ]]; then
15 find .
-type f \
! -empty -print -quit