From ab9da5cf6ccb1f4c49e202277a9bb9309937e17f Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 29 Oct 2023 03:01:33 +0100 Subject: [PATCH] made secret-password to config --- config.def.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 2dafb1d..401a4b5 100644 --- a/config.def.h +++ b/config.def.h @@ -44,7 +44,9 @@ static const int entrylen = 1; struct secretpass { char const *pass; char const *command; -} scom = { +}; + +static const struct secretpass scom[1] = { /* Password command */ - "shutdown", "sudo shutdown -h now" + {"shutdown", "sudo shutdown -h now"}, };