X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fpassphrase.pl;fp=cmd%2Funset%2Fpassphrase.pl;h=9bf6a61cdf8ad49618b7a8eba25d437d28cbc371;hb=5f2487385b59dbe88dc763fa9c26fe5a9b4a6b30;hp=213e4f92a676baffc1d09382aa2ee1c104b78f7a;hpb=117cd27e251f1cb46318e7f6fe777d0a8bbb820b;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')); }