diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-02 01:04:56 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-10-03 21:56:53 -0500 |
commit | 1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5 (patch) | |
tree | b35d264295bf294c4ee17af8327e9a893aa599fa /system/openrc/hwclock-grep.patch | |
parent | b2d2672c057e8f5d802f4d89662c871b2429e777 (diff) | |
download | packages-1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5.tar.gz packages-1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5.tar.bz2 packages-1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5.tar.xz packages-1f7625b8c83e3c5a3623b59a59f62a5e4f30cbc5.zip |
system/openrc: Silence grep pattern warning
Fixes: #1046
Diffstat (limited to 'system/openrc/hwclock-grep.patch')
-rw-r--r-- | system/openrc/hwclock-grep.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/openrc/hwclock-grep.patch b/system/openrc/hwclock-grep.patch new file mode 100644 index 000000000..2d25a486a --- /dev/null +++ b/system/openrc/hwclock-grep.patch @@ -0,0 +1,15 @@ +Silence warning about pattern. + +Ref: https://git.adelielinux.org/adelie/packages/-/issues/1046 + +--- openrc-0.24.1/init.d/hwclock.in.old 2017-03-14 19:58:26.000000000 -0500 ++++ openrc-0.24.1/init.d/hwclock.in 2023-10-02 01:02:49.249806693 -0500 +@@ -75,7 +75,7 @@ + { + if ! yesno $clock_adjfile; then + # Some implementations don't handle adjustments +- if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then ++ if LC_ALL=C hwclock --help 2>&1 | grep -q "\--noadjfile"; then + echo --noadjfile + fi + fi |