Bugfix: ensure socket file exists

This commit is contained in:
Trevor Vallender 2023-12-29 09:45:00 +00:00
parent 7e01e88b9d
commit e587f8980b
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ if [[ $# -eq 0 ]] ; then
exit exit
fi fi
touch $SOCKET_PATH
if [[ $1 = "new" || $1 = "n" ]] ; then if [[ $1 = "new" || $1 = "n" ]] ; then
new_session new_session
elif [[ $1 = "sharero" || $1 = "sro" ]] ; then elif [[ $1 = "sharero" || $1 = "sro" ]] ; then