ports/misc/amanda-server/files/patch-perl__Amanda__Process.pm
Trond Endrestøl e8114fa589 misc/amanda-server: update to 3.5.1
- define LICENSE
 - simplify handling of USERS and GROUPS
 - reorder make variables in accordance with policy
 - regenerate patches
 - harden amstatus against task death

Changelog: https://www.zmanda.com/amanda-community/?ss360SearchTerm=3.5.1

PR:		264714
Approved by:	fbsd@dylanleigh.net (maintainer timeout)
2023-08-09 15:01:14 +02:00

11 lines
440 B
Perl

--- perl/Amanda/Process.pm.orig 2017-12-01 13:26:29 UTC
+++ perl/Amanda/Process.pm
@@ -184,7 +184,7 @@ sub load_ps_table() {
$self->{ppid} = ();
my $ps_argument = $Amanda::Constants::PS_ARGUMENT;
if ($ps_argument eq "CYGWIN") {
- open(PSTABLE, "-|", "ps -ef") || die("ps -ef: $!");
+ open(PSTABLE, "-|", "ps -f") || die("ps -f: $!");
my $psline = <PSTABLE>; #header line
while($psline = <PSTABLE>) {
chomp $psline;