aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-12-30 14:45:15 +0000
committerRon Yorston <rmy@pobox.com>2024-12-30 14:45:15 +0000
commit370ce52cca8e7e8a341d5e238a79fd67f6048bb6 (patch)
tree48c78d906a4467bb618946d96574a5bc21cacfba /runit
parentdc3ee8e0523a4f651f3012ae1f5a181548187709 (diff)
parent14f57f5357cb674b88e7cdaff6267bf9d84c6b80 (diff)
downloadbusybox-w32-merge.tar.gz
busybox-w32-merge.tar.bz2
busybox-w32-merge.zip
Merge branch 'busybox' into mergemerge
Diffstat (limited to '')
-rw-r--r--runit/chpst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index 2be1a5775..4e3d613b7 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -466,7 +466,8 @@ int chpst_main(int argc UNUSED_PARAM, char **argv)
466 /* nice should be done before xsetuid */ 466 /* nice should be done before xsetuid */
467 if (opt & OPT_n) { 467 if (opt & OPT_n) {
468 errno = 0; 468 errno = 0;
469 if (nice(xatoi(nicestr)) == -1) 469 nice(xatoi(nicestr));
470 if (errno)
470 bb_simple_perror_msg_and_die("nice"); 471 bb_simple_perror_msg_and_die("nice");
471 } 472 }
472 473