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"}, };