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); }