aboutsummaryrefslogtreecommitdiff
path: root/runit/chpst.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /runit/chpst.c
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
busybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.bz2
bb_applet_name -> applet_name
Diffstat (limited to 'runit/chpst.c')
-rw-r--r--runit/chpst.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/runit/chpst.c b/runit/chpst.c
index ced28387d..1ee9b8d0f 100644
--- a/runit/chpst.c
+++ b/runit/chpst.c
@@ -230,10 +230,10 @@ static void softlimit(int, char **);
int chpst_main(int argc, char **argv)
{
- if (bb_applet_name[3] == 'd') envdir(argc, argv);
- if (bb_applet_name[1] == 'o') softlimit(argc, argv);
- if (bb_applet_name[0] == 's') setuidgid(argc, argv);
- if (bb_applet_name[0] == 'e') envuidgid(argc, argv);
+ if (applet_name[3] == 'd') envdir(argc, argv);
+ if (applet_name[1] == 'o') softlimit(argc, argv);
+ if (applet_name[0] == 's') setuidgid(argc, argv);
+ if (applet_name[0] == 'e') envuidgid(argc, argv);
// otherwise we are.......... chpst
{