Skip to content
Snippets Groups Projects

pv-wrap, pv-launcher: Set a reasonable RLIMIT_NOFILE

Merged Simon McVittie requested to merge wip/t29726 into master
All threads resolved!
1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
+ 0
5
@@ -878,7 +878,6 @@ main (int argc,
g_autoptr(LibTempDirs) lib_temp_dirs = g_new0 (LibTempDirs, 1);
gboolean all_abi_paths_created = TRUE;
gsize i;
int result;
sigemptyset (&mask);
sigaddset (&mask, SIGCHLD);
@@ -964,10 +963,6 @@ main (int argc,
ret = EX_UNAVAILABLE;
if ((result = _srt_set_compatible_resource_limits (0)) < 0)
g_warning ("Unable to set normal resource limits: %s",
g_strerror (-result));
if (opt_exit_with_parent)
{
g_debug ("Setting up to exit when parent does");
Loading