diff --git a/src/pam.py b/src/pam.py index 85dd88c..f7f6c55 100644 --- a/src/pam.py +++ b/src/pam.py @@ -34,7 +34,7 @@ def doAuth(pamh): # Abort if the video device does not exist if not os.path.exists(config.get("video", "device_path")): if config.getboolean("video", "warn_no_device"): - print("Video device " + config.get("video", "device_path") + " not found") + print("Camera path is not configured correctly, please edit the 'device_path' config value.") return pamh.PAM_AUTHINFO_UNAVAIL # Set up syslog