Skip to content

Commit 9a903ca

Browse files
if LOGNAME is NOT empty
1 parent 71a6937 commit 9a903ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/local/bin/dumb-init /bin/bash
22
set -e
33

4-
if [ -z ${LOGNAME} ] && [ -S /shareddev/${LOGNAME}/log ];then
4+
if [ ! -z ${LOGNAME} ] && [ -S /shareddev/${LOGNAME}/log ];then
55
ln -s /shareddev/${LOGNAME}/log /dev/log
66
logger -s "Created container specific symlink to syslog container"
77
elif [ -S /shareddev/log ];then

0 commit comments

Comments
 (0)