From aace8c3d312521880e29bcd2e17cf0778f0ff805 Mon Sep 17 00:00:00 2001 From: springzfx Date: Thu, 21 May 2020 20:50:44 +0800 Subject: [PATCH] add tips that service may not running --- src/cgproxy.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cgproxy.hpp b/src/cgproxy.hpp index 174aaf9..7bb9afc 100644 --- a/src/cgproxy.hpp +++ b/src/cgproxy.hpp @@ -57,6 +57,7 @@ int main(int argc, char *argv[]) { send_pid(getpid(), proxy, status); if (status != 0) { error("attach process failed"); + if (status==1) error("maybe cgproxy.service not running"); exit(EXIT_FAILURE); }