# HG changeset patch # User Eris Caffee # Date 1307092301 18000 # Node ID e17c757389d7808d92201df6a1e2328f8e57a09c # Parent 21f705b2b8c92eb3190fd7ae30cffa61c10ec799 Fixed bug in the / hardcoded block. diff -r 21f705b2b8c9 -r e17c757389d7 rm-limit.pl --- a/rm-limit.pl Wed May 18 02:22:19 2011 -0500 +++ b/rm-limit.pl Fri Jun 03 04:11:41 2011 -0500 @@ -51,7 +51,7 @@ # only be active during interactive logins, and not when scripts are running. # -# Last update: 2011/05/18 02:21:42 +# Last update: 2011/06/03 04:11:12 use strict; use warnings; @@ -243,8 +243,8 @@ my $path = normalize_name($_); # Always blacklist / - if ($path eq "/\n") { - print("Blacklisted for being the entire system: /"); + if ($path eq "/") { + print("Blacklisted for being the entire system: /\n"); return 1; }