summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-09-05 13:01:03 +0000
committerivan <ivan>2002-09-05 13:01:03 +0000
commit9a665a351155da6130b0669dbd99f28a40bc5bc5 (patch)
tree71485e3a5c0c7a3a9d31ced14d59170113e5d408
parent535b26281b31fc784923db3aabbde7766ca35a59 (diff)
show illegal dir in error msg
-rw-r--r--FS/FS/svc_acct.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 6fe26c8d5..e62cdd7bb 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -708,7 +708,7 @@ sub check {
$recref->{dir} =~ /^([\/\w\-\.\&]*)$/
- or return "Illegal directory";
+ or return "Illegal directory: ". $recref->{dir};
$recref->{dir} = $1;
return "Illegal directory"
if $recref->{dir} =~ /(^|\/)\.+(\/|$)/; #no .. component