diff --git a/uptimeatomic b/uptimeatomic index 8f93940..00f7039 100755 --- a/uptimeatomic +++ b/uptimeatomic @@ -5,7 +5,8 @@ # export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin CONFIGFILE="uptimeatomic.conf" -WORKDIR=$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P) +#WORKDIR=$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P) +WORKDIR=$(dirname -- "$(command -v -- "/home/mischa/uptimeatomic/uptimeatomic")") usage() { echo "usage: ${0##*/} [-c checksfile] [-i incidentsfile] [-p pastincidentsfile] [-o htmlfile]" 1>&2