aboutsummaryrefslogtreecommitdiff
path: root/sh/s6.sh
diff options
context:
space:
mode:
authorStefan Linke <particleflux@gmail.com>2022-09-07 17:18:09 +0200
committerMike Frysinger <vapier@gmail.com>2022-09-07 11:59:30 -0400
commit9380347f042f7d294317f4420b648422817eb75a (patch)
tree9207bf3f75c292111a305280371af75d6687bfdc /sh/s6.sh
parent112b69860f2cb6059c49404abbfb4e3f22603cfc (diff)
Avoid warning on grep 3.8 in hwclock
Starting with grep version 3.8, the hwclock init script logs warnings about stray backslashes: > hwclock | * Setting system clock using the hardware clock [UTC] ... > hwclock |grep: warning: stray \ before - > hwclock |grep: warning: stray \ before - This is caused by the check for existence of the `--noadjfile` argument in function `get_noadjfile()`. Replacing the affected logic with an explicit argument denoting the pattern as such resolves the issue. Fixes #548
Diffstat (limited to 'sh/s6.sh')
0 files changed, 0 insertions, 0 deletions