diff options
Diffstat (limited to 'scripts/generic/moses-parallel.pl')
-rwxr-xr-x | scripts/generic/moses-parallel.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generic/moses-parallel.pl b/scripts/generic/moses-parallel.pl index 0a3354183..d1840fc55 100755 --- a/scripts/generic/moses-parallel.pl +++ b/scripts/generic/moses-parallel.pl @@ -965,7 +965,7 @@ sub safesystem { sub getPwdCmd(){ my $pwdcmd="pwd"; my $a; - chomp($a=`which pawd | head -1 | awk '{print $1}'`); + chomp($a=`which pawd 2> /dev/null | head -1 | awk '{print $1}'`); if ($a && -e $a){ $pwdcmd=$a; } return $pwdcmd; } |