소스 검색

Update core_legacy.sh

Daniel Gibbs 6 년 전
부모
커밋
b0c623f3ec
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      lgsm/functions/core_legacy.sh

+ 4 - 0
lgsm/functions/core_legacy.sh

@@ -41,6 +41,10 @@ if [ -z "${alertlog}" ]; then
 	alertlog="${emaillog}"
 fi
 
+if [ -z "${servicename}" ]; then
+	servicename="${selfname}"
+fi
+
 # Alternations to workshop variables.
 if [ -z "${wsapikey}" ]; then
 	if [ "${workshopauth}" ]; then