From 9c8ae21bbf6c6c51c04f62b18b613bbf42a375ca Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Fri, 17 Apr 2020 01:32:27 +0100 Subject: [PATCH] make save a non-spawnable cmd --- cmd/save.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/save.pl b/cmd/save.pl index bf24000e..dce7b49c 100644 --- a/cmd/save.pl +++ b/cmd/save.pl @@ -44,7 +44,9 @@ if ($rest =~ /^\s*\"/) { } open OF, "$app_req$fn" or return (1, $self->msg('e30', $fn)); for (@cmd) { + $self->{_nospawn} = 1; print OF map {"$_\n"} $self->run_cmd($_); + delete $self->{_nospawn}; } close OF; return (1, $self->msg('ok')); -- 2.43.0