no need for cd in WORKDIR, grrr

This commit is contained in:
mischa 2023-06-04 08:42:45 +00:00
parent 37fb3895ce
commit aad38aa994
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
CONFIGFILE="uptimeatomic.conf"
WORKDIR=$(dirname -- "$(command -v -- "/home/mischa/uptimeatomic/uptimeatomic")")
WORKDIR=$(dirname -- "$(command -v -- "$0")")
usage() {
echo "usage: ${0##*/} [-c checksfile] [-i incidentsfile] [-p pastincidentsfile] [-o htmlfile]" 1>&2