mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-11 07:30:56 +00:00
Fix typos in doas config and --sudo opt definition
This commit is contained in:
parent
61386ca646
commit
3860487a0b
@ -56,7 +56,7 @@ if test_have_prereq DOAS; then
|
||||
test_export "doas_test" # Using already generated tomb
|
||||
test_expect_success 'Testing open with good password (using doas instead of sudo)' '
|
||||
tt_open --sudo doas --tomb-pwd $DUMMYPASS &&
|
||||
tt_close
|
||||
tt_close --sudo doas
|
||||
'
|
||||
fi
|
||||
|
||||
|
@ -12,8 +12,9 @@ permit nopass root cmd mount
|
||||
permit nopass root cmd rmdir
|
||||
permit nopass root cmd chown
|
||||
permit nopass root cmd umount
|
||||
permit nopass root cmd findmnd
|
||||
permit nopass root cmd findmnt
|
||||
permit nopass root cmd e2fsck
|
||||
permit nopass root cmd resize2fs
|
||||
permit nopass root cmd lsof
|
||||
permit nopass root cmd kill
|
||||
permit nopass root cmd cryptsetup
|
||||
|
2
tomb
2
tomb
@ -3132,7 +3132,7 @@ main() {
|
||||
# can only use the non-abbreviated long-option version like:
|
||||
# -force and NOT -f
|
||||
#
|
||||
main_opts=(q -quiet=q D -debug=D h -help=h v -version=v f -force=f -tmp: U: G: T: -no-color -unsafe g -gpgkey=g -sudo)
|
||||
main_opts=(q -quiet=q D -debug=D h -help=h v -version=v f -force=f -tmp: U: G: T: -no-color -unsafe g -gpgkey=g -sudo:)
|
||||
subcommands_opts[__default]=""
|
||||
# -o in open and mount is used to pass alternate mount options
|
||||
subcommands_opts[open]="n -nohook=n k: -kdf: o: -ignore-swap -tomb-pwd: r: R: -sphx-host: -sphx-user: p -preserve-ownership=p"
|
||||
|
Loading…
Reference in New Issue
Block a user