From 8918f12ef63be9d1cfad6a22e39a052bf4500b05 Mon Sep 17 00:00:00 2001 From: gSpot Date: Wed, 22 May 2024 23:39:20 +0300 Subject: [PATCH] Minor fixes --- .../files/usr/lib/lua/internet-detector/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internet-detector/files/usr/lib/lua/internet-detector/main.lua b/internet-detector/files/usr/lib/lua/internet-detector/main.lua index 52bfeef..dd078d2 100644 --- a/internet-detector/files/usr/lib/lua/internet-detector/main.lua +++ b/internet-detector/files/usr/lib/lua/internet-detector/main.lua @@ -475,7 +475,7 @@ function InternetDetector:stopInstance(pidFile) end if not ok then io.stderr:write(string.format( - 'Process stop error: %s (%s). PID: "%s"\n', errMsg, errNum, pidValue)) + 'Process stopping error: %s (%s). PID: "%s"\n', errMsg, errNum, pidValue)) end if errNum == 3 then os.remove(pidFile) @@ -485,7 +485,7 @@ function InternetDetector:stopInstance(pidFile) end if not pidValue then io.stderr:write( - string.format('PID file "%s" does not exist. %s not running?\n', + string.format('PID file "%s" does not exist. Is the %s not running?\n', pidFile, self.appName)) end return retVal @@ -537,7 +537,7 @@ function InternetDetector:preRun() end if stat.stat(self.pidFile) then io.stderr:write( - string.format('PID file "%s" already exist. %s already running?\n', + string.format('PID file "%s" exist. Is the %s already running?\n', self.pidFile, self.appName)) return false end