aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommands/nag2
-rw-r--r--config.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/commands/nag b/commands/nag
index c07ed5b..8454d84 100755
--- a/commands/nag
+++ b/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/config.py b/config.py
index 98f17d6..a09d1bc 100644
--- a/config.py
+++ b/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'
},