summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xReaktor/commands/nag2
-rw-r--r--Reaktor/config.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/Reaktor/commands/nag b/Reaktor/commands/nag
index c07ed5b8..8454d84b 100755
--- a/Reaktor/commands/nag
+++ b/Reaktor/commands/nag
@@ -1,8 +1,6 @@
#! /bin/sh
set -euf
-cd "$workdir"
-
if test -e nag.hosts; then
echo "nag seems to run already... if not, then delete $workdir/nag.*, please"
exit 23
diff --git a/Reaktor/config.py b/Reaktor/config.py
index 98f17d67..a09d1bce 100644
--- a/Reaktor/config.py
+++ b/Reaktor/config.py
@@ -86,7 +86,6 @@ on_ping = [
'capname': 'nag',
'argv': [ 'commands/nag' ],
'env': {
- 'workdir': workdir,
'hostsdir': '/home/tv/krebs/hosts',
'servicesdir': '/home/tv/krebs/services'
},