Mercurial > rm-limit
changeset 5:e17c757389d7
Fixed bug in the / hardcoded block.
author | Eris Caffee <discordia@eldalin.com> |
---|---|
date | Fri, 03 Jun 2011 04:11:41 -0500 |
parents | 21f705b2b8c9 |
children | 87cd6a5b31f8 |
files | rm-limit.pl |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/rm-limit.pl Wed May 18 02:22:19 2011 -0500 1.2 +++ b/rm-limit.pl Fri Jun 03 04:11:41 2011 -0500 1.3 @@ -51,7 +51,7 @@ 1.4 # only be active during interactive logins, and not when scripts are running. 1.5 # 1.6 1.7 -# Last update: 2011/05/18 02:21:42 1.8 +# Last update: 2011/06/03 04:11:12 1.9 1.10 use strict; 1.11 use warnings; 1.12 @@ -243,8 +243,8 @@ 1.13 my $path = normalize_name($_); 1.14 1.15 # Always blacklist / 1.16 - if ($path eq "/\n") { 1.17 - print("Blacklisted for being the entire system: /"); 1.18 + if ($path eq "/") { 1.19 + print("Blacklisted for being the entire system: /\n"); 1.20 return 1; 1.21 } 1.22