mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-06-20 13:58:39 +00:00
added log type
This commit is contained in:
parent
a5d69d5fe2
commit
7c90b3265b
@ -1320,7 +1320,7 @@ tofile "${C_IP:?}" "/config/self-for-guest/lg-${LID}/c_ip"
|
||||
echo_pty -e "....[${CG}OK${CN}]"
|
||||
|
||||
# Add a log entry into elastisearch using logpipe
|
||||
echo "LID:${LID}|Hostname:${SF_HOSTNAME}|" | unix-socket-client &> /dev/null
|
||||
echo "Type:Login|LID:${LID}|Hostname:${SF_HOSTNAME}|" | unix-socket-client &> /dev/null
|
||||
|
||||
# Spawn shell
|
||||
spawn_shell_exit "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user