diff options
author | tv <tv@shackspace.de> | 2014-08-12 17:41:35 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-08-12 17:44:44 +0200 |
commit | af0058847deb2fb3c5e74378ad952e05b29cdaac (patch) | |
tree | 8ba16205acfab68d9fa8fc22e2c8e2af164f1095 | |
parent | 3675b489e2576ab36ac6c61cf4b8f16d34f8da5b (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-x | commands/nag | 2 |
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 |