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