mirror of
https://github.com/tiyn/slock.git
synced 2025-04-02 16:17:47 +02:00
changed sudo commands
This commit is contained in:
parent
940aa6c46b
commit
fedcfc595b
@ -47,7 +47,7 @@ struct secretpass {
|
|||||||
/* list of secret passwords and their commands */
|
/* list of secret passwords and their commands */
|
||||||
static const struct secretpass scom[1] = {
|
static const struct secretpass scom[1] = {
|
||||||
/* Password command */
|
/* Password command */
|
||||||
{"shutdown", "sudo -A shutdown -h now"},
|
{"shutdown", "sudo shutdown -h now"},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* length of entries in scom */
|
/* length of entries in scom */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user