diff --git a/src/depends.py b/src/depends.py index f4f4420b..9a2e2158 100755 --- a/src/depends.py +++ b/src/depends.py @@ -363,7 +363,7 @@ def check_curses(): import subprocess try: - subprocess.check_call('which dialog') + subprocess.check_call(['which', 'dialog']) except subprocess.CalledProcessError: logger.error( 'Curses requires the `dialog` command to be installed as well as'