projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put back msg totals for mrtg and background mrtg
[spider.git]
/
cmd
/
export_users.pl
diff --git
a/cmd/export_users.pl
b/cmd/export_users.pl
index 4c143ebbf43c80776bff8e65e616513f64f52057..753a48facafa5b2cc74dd79b71e4cae8f13413fd 100644
(file)
--- a/
cmd/export_users.pl
+++ b/
cmd/export_users.pl
@@
-1,9
+1,12
@@
#
# the export the user file to ascii command
#
#
# the export the user file to ascii command
#
-#
$Id$
+#
#
my $self = shift;
#
my $self = shift;
+my $line = shift || "user_asc";
return (1, $self->msg('e5')) unless $self->priv >= 9;
return (1, $self->msg('e5')) unless $self->priv >= 9;
-my $line = shift || "$main::data/user_asc";
-return (1, DXUser::export($line));
+
+my ($fn, $flag) = split /\s+/, $line;
+my $strip = $flag eq 'strip';
+return (1, DXUser::export($fn, $strip));