diff --git a/src/gl-system-install b/src/gl-system-install index 0eec005..d7df7e4 100755 --- a/src/gl-system-install +++ b/src/gl-system-install @@ -108,8 +108,10 @@ gl-setup is not in your \$PATH. $path_advice" which=`dirname $which` -[ "$which" != "$gl_bin_dir" ] && die " ***** WARNING ***** +[ "$which" = "$gl_bin_dir" ] || die " ***** WARNING ***** $which precedes $gl_bin_dir in your \$PATH, and it *also* contains gl-setup. This is almost certainly going to confuse you or me later. $path_advice" + +exit 0 diff --git a/src/sshkeys-lint b/src/sshkeys-lint index bcb8f7b..96c027f 100755 --- a/src/sshkeys-lint +++ b/src/sshkeys-lint @@ -119,7 +119,7 @@ sub ak_comment { $in_gl_section = 1 if /^# gitolite start/; $in_gl_section = 0 if /^# gitolite end/; die "gitosis? what's that?\n" if /^#.*gitosis/; - return /^\s*#/; + return /^\s*(#|$)/; } sub fprint {