diff --git a/ssh-wrapper.py b/ssh-wrapper.py index dd9c688..e911629 100755 --- a/ssh-wrapper.py +++ b/ssh-wrapper.py @@ -64,7 +64,7 @@ for maybe in allowed: try: cmd = subprocess.Popen(cmdlinelist, stdout=subprocess.PIPE) except Exception as exc: - print('Could not execute plugin ("%s"): %s' % cmdline) + print('Could not execute plugin: %s' % exc) if args.verbose >= 0: syslog.syslog('Could not execute plugin >%s<' % cmdline) sys.exit(3)