aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-08-12 17:41:35 +0200
committertv <tv@shackspace.de>2014-08-12 17:44:44 +0200
commitaf0058847deb2fb3c5e74378ad952e05b29cdaac (patch)
tree8ba16205acfab68d9fa8fc22e2c8e2af164f1095 /commands
parent3675b489e2576ab36ac6c61cf4b8f16d34f8da5b (diff)
Reaktor nag: don't care about missing variables
Missing variables imply missing things to nag about, so it's safe to ignore them.
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/nag2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/nag b/commands/nag
index 8962d9f..f214139 100755
--- a/commands/nag
+++ b/commands/nag
@@ -55,7 +55,7 @@ for i in \
missing_owners \
missing_mailtos
do
- eval "offenders=\$$i; nag_msg=\$nag_$i"
+ eval "offenders=\${$i-}; nag_msg=\$nag_$i"
if test -n "$offenders"; then
echo $nag_msg: $offenders
did_nag=true