aboutsummaryrefslogtreecommitdiff
path: root/libbb/run_shell.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /libbb/run_shell.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'libbb/run_shell.c')
-rw-r--r--libbb/run_shell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/run_shell.c b/libbb/run_shell.c
index 6d084eead..d5dc37b54 100644
--- a/libbb/run_shell.c
+++ b/libbb/run_shell.c
@@ -46,7 +46,7 @@ static security_context_t current_sid=NULL;
46void 46void
47renew_current_security_context(void) 47renew_current_security_context(void)
48{ 48{
49 if (current_sid) 49 if (current_sid)
50 freecon(current_sid); /* Release old context */ 50 freecon(current_sid); /* Release old context */
51 51
52 getcon(&current_sid); /* update */ 52 getcon(&current_sid); /* update */
@@ -56,7 +56,7 @@ renew_current_security_context(void)
56void 56void
57set_current_security_context(security_context_t sid) 57set_current_security_context(security_context_t sid)
58{ 58{
59 if (current_sid) 59 if (current_sid)
60 freecon(current_sid); /* Release old context */ 60 freecon(current_sid); /* Release old context */
61 61
62 current_sid=sid; 62 current_sid=sid;
@@ -84,7 +84,7 @@ void run_shell ( const char *shell, int loginshell, const char *command, const c
84 84
85 args [0] = bb_get_last_path_component ( bb_xstrdup ( shell )); 85 args [0] = bb_get_last_path_component ( bb_xstrdup ( shell ));
86 86
87 if ( loginshell ) 87 if ( loginshell )
88 args [0] = bb_xasprintf ("-%s", args [0]); 88 args [0] = bb_xasprintf ("-%s", args [0]);
89 89
90 if ( command ) { 90 if ( command ) {