Use wildcard *journal
[integration/test.git] / tools / clustering / cluster-deployer / restart.py
index 48bfa903e693fb8c9f59e9f7d39944ecab37c528..044e03ee8b410744e8ef39288468d80c94086e49 100755 (executable)
@@ -30,7 +30,7 @@ def main():
         remote = RemoteHost(hosts[x], args.user, args.password, args.rootdir)
         remote.kill_controller()
         if(args.clean):
-            remote.exec_cmd("rm -rf " + args.rootdir + "/deploy/current/odl/journal")
+            remote.exec_cmd("rm -rf " + args.rootdir + "/deploy/current/odl/*journal")
             remote.exec_cmd("rm -rf " + args.rootdir + "/deploy/current/odl/snapshots")
         remote.start_controller(args.rootdir + "/deploy/current")