Created attachment 555530 [details, diff] improve parsing of stat files I got the following output from restart-services: -> Searching for services that need to be restarted ... //usr/sbin/restart-services: line 131: [[: slee): syntax error in expression (error token is ")") Turns out to be a process who's command field contained whitespace: # cat /proc/19311/stat 19311 (ddclient - slee) S 1 19278 19278 0 /../ The attached patch makes restart-services use a bash regex to parse this file instead of a simple field selection.
Thanks for reporting! Fixed in 0.14.2