Commit Diff


commit - 37fb3895cedca0a69cec2941d67aa26d05fefbc6
commit + aad38aa99497304c8af6fb5715782bc2cc6ed90f
blob - 7688b04c7bd0731bf17c854d330118701e6e931f
blob + e0a0da69b49a471eaa795531b1d2822c9948c3f6
--- uptimeatomic
+++ 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