diff --git a/devlib/target.py b/devlib/target.py index 2ca4871..ac92dc9 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -628,7 +628,7 @@ class Target(object): raise IOError('No usable temporary filename found') def remove(self, path, as_root=False): - self.execute('rm -rf {}'.format(quote(path)), as_root=as_root) + self.execute('rm -rf -- {}'.format(quote(path)), as_root=as_root) # misc def core_cpus(self, core):