From 3ff08ec3318b6fc4629b31481a647500a7851c51 Mon Sep 17 00:00:00 2001 From: Carl Klemm Date: Thu, 4 Jun 2020 18:39:06 +0200 Subject: [PATCH] fixed log output --- main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index 1c0aa81..1a8e2db 100644 --- a/main.cpp +++ b/main.cpp @@ -268,15 +268,15 @@ int main(int argc, char* argv[]) for(size_t i = 0; i < applicationNames.size(); ++i) { - if(process.name == applicationNames[i]) + if(process.name == applicationNames[i] && process.name != "" && wid != 0) { kill(process.pid, SIGCONT); - std::cout<<"Resumeing: "<