X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fpassphrase.pl;h=9bf6a61cdf8ad49618b7a8eba25d437d28cbc371;hb=934a5db829e43833c5f6c45c8cd9919dcfe734b9;hp=213e4f92a676baffc1d09382aa2ee1c104b78f7a;hpb=148f4d43135748ba5aff985c50720b370ca1e336;p=spider.git diff --git a/cmd/unset/passphrase.pl b/cmd/unset/passphrase.pl index 213e4f92..9bf6a61c 100644 --- a/cmd/unset/passphrase.pl +++ b/cmd/unset/passphrase.pl @@ -12,7 +12,7 @@ my @out; my $user; my $ref; -if ($self->remotecmd) { +if ($self->remotecmd || $self->inscript) { Log('DXCommand', $self->call . " attempted to unset passphrase for @args remotely"); return (1, $self->msg('e5')); }