diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
| commit | 0fecc645618380829406002fddc80b34be56c5f2 (patch) | |
| tree | c761c63b50cb00991db1097864d3c360dd64702a /ioreplay/src/init/init.c | |
| parent | 56f8cdff9aaa9bf00c5dc9441a7569374f2cbafb (diff) | |
Increase rlimits before dropping root
Diffstat (limited to 'ioreplay/src/init/init.c')
| -rw-r--r-- | ioreplay/src/init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ioreplay/src/init/init.c b/ioreplay/src/init/init.c index 988729e..e375379 100644 --- a/ioreplay/src/init/init.c +++ b/ioreplay/src/init/init.c @@ -103,7 +103,7 @@ status_e init_run(options_s *opts) mounts_init(i->mounts); // Don't do messy stuff as super user - drop_root(opts->user); + set_limits_drop_root(opts->user); // We need to clean up garbish from previous runs! if (opts->purge) |
