B #163: Drop stderr from update-conf (Alpine)

pull/244/head
Vlastimil Holer 3 years ago
parent 3176c6a635
commit 7701d3a426
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -49,7 +49,7 @@ elif which rc-update >/dev/null 2>&1; then
# When existing file is changed, the new one might be created with # When existing file is changed, the new one might be created with
# .apk-new suffix. Such files need to be processed by update-conf. # .apk-new suffix. Such files need to be processed by update-conf.
if update-conf -al | grep -q context; then if update-conf -al 2>/dev/null | grep -q context; then
echo 'WARNING: Run update-conf to process any updated one-context files in /etc!' >&2 echo 'WARNING: Run update-conf to process any updated one-context files in /etc!' >&2
fi fi

@ -44,7 +44,7 @@ elif which rc-update >/dev/null 2>&1; then
# When existing file is changed, the new one might be created with # When existing file is changed, the new one might be created with
# .apk-new suffix. Such files need to be processed by update-conf. # .apk-new suffix. Such files need to be processed by update-conf.
if update-conf -al | grep -q context; then if update-conf -al 2>/dev/null | grep -q context; then
echo 'WARNING: Run update-conf to process any updated one-context files in /etc!' >&2 echo 'WARNING: Run update-conf to process any updated one-context files in /etc!' >&2
fi fi

Loading…
Cancel
Save