diff --git a/pymegacli/components.py b/pymegacli/components.py index f46d7a1..508be25 100644 --- a/pymegacli/components.py +++ b/pymegacli/components.py @@ -24,7 +24,7 @@ def __init__(self, megacli_path, log=None): def run_command(self, *args): exit_re = re.compile('^Exit Code: (.*)$') - cmd = [self.megacli_path] + list(args) + cmd = [self.megacli_path] + list(args) + ['-NoLog'] if self.log: self.log.debug('executing: ' + ' '.join(map(pipes.quote, cmd))) p = subprocess.Popen( @@ -276,7 +276,7 @@ def patrol_read_status(self): @property def PDs(self): return Disk.from_output(self.parent.run_command( - '-PDList', 'a%d' % self.controller_number + '-PDList', '-a%d' % self.controller_number ), self) @property