X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/e4b24259cc55b2b8a840b194b7df3c4ed99ba579..8048e950fd8fb2d19c85e609d40ebe32d713af38:/mr?ds=inline diff --git a/mr b/mr index 5025e6e..22516a0 100755 --- a/mr +++ b/mr @@ -1325,11 +1325,12 @@ sub loadconfig { while (@lines) { $_=$nextline->(); + next if /^\s*\#/ || /^\s*$/; + if (! $trusted && /[[:cntrl:]]/) { $trusterror->("illegal control character"); } - next if /^\s*\#/ || /^\s*$/; if (/^\[([^\]]*)\]\s*$/) { $section=$1;