]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/tty-ask-password-agent/tty-ask-password-agent.c
tree-wide: use IN_SET macro (#6977)
[thirdparty/systemd.git] / src / tty-ask-password-agent / tty-ask-password-agent.c
index 3ea8dae7a9caed4bc9bce051e4f978b8a9c3e752..495ae464b475d9233f003e6fe289a55fed877bc2 100644 (file)
@@ -206,7 +206,7 @@ static int ask_password_plymouth(
                         r = -ENOENT;
                         goto finish;
 
-                } else if (buffer[0] == 2 || buffer[0] == 9) {
+                } else if (IN_SET(buffer[0], 2, 9)) {
                         uint32_t size;
                         char **l;