From af0058847deb2fb3c5e74378ad952e05b29cdaac Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Aug 2014 17:41:35 +0200 Subject: Reaktor nag: don't care about missing variables Missing variables imply missing things to nag about, so it's safe to ignore them. --- commands/nag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3