Skip to content

Commit 73a11e9

Browse files
committed
fix intends in bashrc_user_redhat.master
1 parent 711247a commit 73a11e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/conf/bashrc_user_redhat.master

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ fi
1212
<tmpl_if name='jailkit_chroot' op='==' value='y'>
1313
## Hack for Jailkit User to change back to the logged in user ##
1414
if [ -n "$LOGNAME" ]; then
15-
if [ "$LOGNAME" != $USER ]; then
16-
export HOME=<tmpl_var name='home_dir'>$LOGNAME
17-
export USER=$LOGNAME
18-
export USERNAME=$LOGNAME
19-
cd $HOME
20-
fi
15+
if [ "$LOGNAME" != $USER ]; then
16+
export HOME=<tmpl_var name='home_dir'>$LOGNAME
17+
export USER=$LOGNAME
18+
export USERNAME=$LOGNAME
19+
cd $HOME
20+
fi
2121
fi
2222

2323
## Change machine hostname to site domain ##

0 commit comments

Comments
 (0)