We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711247a commit 73a11e9Copy full SHA for 73a11e9
server/conf/bashrc_user_redhat.master
@@ -12,12 +12,12 @@ fi
12
<tmpl_if name='jailkit_chroot' op='==' value='y'>
13
## Hack for Jailkit User to change back to the logged in user ##
14
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
+ if [ "$LOGNAME" != $USER ]; then
+ export HOME=<tmpl_var name='home_dir'>$LOGNAME
+ export USER=$LOGNAME
+ export USERNAME=$LOGNAME
+ cd $HOME
+ fi
21
fi
22
23
## Change machine hostname to site domain ##
0 commit comments