diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 2585c4513ee..cc4d49f1ecc 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -719,8 +719,9 @@ if status was nonzero. Throw away stdout and stderr. =cut sub system_ok { + my $nulldev = nulldev(); my ($cmdline) = @_; - `$cmdline >/dev/null 2>&1`; + `$cmdline >$nulldev 2>&1`; return $? == 0; } |