From 9f93fb8310230ba9218185347ddf16398f0493c7 Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Mon, 28 Aug 2017 09:46:29 +0300 Subject: [PATCH] minor fix in dropper --- chaos_monkey/dropper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chaos_monkey/dropper.py b/chaos_monkey/dropper.py index 070c46751..35390786d 100644 --- a/chaos_monkey/dropper.py +++ b/chaos_monkey/dropper.py @@ -8,7 +8,7 @@ import logging import subprocess import argparse from ctypes import c_char_p -from model import MONKEY_CMDLINE +from model import MONKEY_CMDLINE, MONKEY_CMDLINE_LINUX from config import WormConfiguration from system_info import SystemInfoCollector, OperatingSystem @@ -96,7 +96,7 @@ class MonkeyDrops(object): if OperatingSystem.Windows == SystemInfoCollector.get_os(): monkey_cmdline = MONKEY_CMDLINE % {'monkey_path': self._config['destination_path']} else: - monkey_cmdline = MONKEY_CMDLINE % {'monkey_path': self._config['destination_path']} + monkey_cmdline = MONKEY_CMDLINE_LINUX % {'monkey_path': self._config['destination_path']} if self.opts.parent: