sysctl: do report EACCES errors on write

function                                             old     new   delta
sysctl_act_recursive                                 165     179     +14
sysctl_act_on_setting                                467     471      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 18/0)               Total: 18 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2020-06-09 15:58:32 +02:00
parent b2ab920716
commit 002be6e821
2 changed files with 8 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ testing "unexpand case 8" "unexpand" \
testcase()
{
testing "unexpand flags $*" "unexpand $*" \
"$want" "" ' a b c'
testing "unexpand flags $*" "unexpand $*" \
"$want" "" ' a b c'
}
# tabs=8, Convert only leading sequences of blanks