shmmonitor: add severity setting

This commit is contained in:
Alexey Rybalchenko
2021-04-14 11:31:56 +02:00
parent 2c89b24857
commit b67b80e0ad
3 changed files with 7 additions and 3 deletions

View File

@@ -238,7 +238,7 @@ class Manager
}
if (!p.empty()) {
boost::process::spawn(p, "-x", "-m", "--shmid", id, "-d", "-t", "2000", verbose ? "--verbose" : "", env);
boost::process::spawn(p, "-x", "-m", "--shmid", id, "-d", "-t", "2000", (verbose ? "--verbose" : ""), env);
int numTries = 0;
do {
try {