diff --git a/uptimeatomic b/uptimeatomic index 7688b04..e0a0da6 100755 --- a/uptimeatomic +++ b/uptimeatomic @@ -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