summaryrefslogtreecommitdiffstats
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
commitfacad724607af433f195a1bd053a574aa14411d8 (patch)
treee2659d3295e4c27f53b4c7d7adb9864cfab943fa
parent2bcb24199008ae2852af9a62e12959da5f67411b (diff)
Reaktor nag: don't care about missing variables
Missing variables imply missing things to nag about, so it's safe to ignore them.
-rwxr-xr-xReaktor/commands/nag2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/commands/nag b/Reaktor/commands/nag
index 8962d9fb..f2141392 100755
--- a/Reaktor/commands/nag
+++ b/Reaktor/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