summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
83445c4)
This potentially does deletes which is a problem (at least for now) on spawned commands
return (1, $self->msg('e5')) unless $self->priv >= 9;
my ($fn, $flag) = split /\s+/, $line;
return (1, $self->msg('e5')) unless $self->priv >= 9;
my ($fn, $flag) = split /\s+/, $line;
+$fn ||= 'user_asc';
+unless ($fn && $fn eq 'user_asc') {
+ $fn =~ s|[/\.]||g;
+ $fn = "/tmp/$fn";
+}
my $strip = $flag eq 'strip';
my $strip = $flag eq 'strip';
-my @out = $self->spawn_cmd("export_users", \&DXUser::export, args => [$fn, $strip]);
+my @out = DXUser::export($fn, $strip);