...we don't need to restart for ls operations

This commit is contained in:
brent s 2017-10-10 20:15:49 -04:00
parent 704e590891
commit f904052111

View File

@ -302,8 +302,9 @@ class Manager(object):


def close(self): def close(self):
self.conn.close() self.conn.close()
_cmd = ['systemctl', 'restart', 'murmur'] if self.args['operation'] in ('add', 'rm', 'edit'):
subprocess.run(_cmd) _cmd = ['systemctl', 'restart', 'murmur']
subprocess.run(_cmd)
return() return()


def parseArgs(): def parseArgs():