diff --git a/udiskie/prompt.py b/udiskie/prompt.py index 061a252..367664c 100644 --- a/udiskie/prompt.py +++ b/udiskie/prompt.py @@ -237,7 +237,7 @@ async def __call__(self, device, arg1 = None, arg2 = None): attrs['event'] = 'device_changed_to' argv = [arg.format(**attrs) for arg in self.argv] try: - stdout2 = await exec_subprocess(argv, self.capture) + await exec_subprocess(argv, False) except subprocess.CalledProcessError: return None return stdout