diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
index 916509a..7018a6e 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/cryptsetup/cryptsetup.c
@@ -283,8 +283,10 @@ int main(int argc, char *argv[]) {
                     !streq(argv[4], "-") &&
                     !streq(argv[4], "none")) {
 
-                        if (!path_is_absolute(argv[4]))
-                                log_error("Password file path %s is not absolute. Ignoring.", argv[4]);
+                        if (argv[4][0] == '"')
+                                log_error("Inline passwords are no longer supported, use a password file. Ignoring.");
+                        else if (!path_is_absolute(argv[4]))
+                                log_error("Password file path %s is not absolute. Ignoring.");
                         else
                                 key_file = argv[4];
                 }
