From: Luiz Angelo Daros de Luca Date: Thu, 20 Oct 2022 02:56:22 +0000 (-0300) Subject: base-files: sysupgrade: fix error message and typo X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61ac147bb65a6af3e0428f24182c1593249985c2;p=openwrt%2Fstaging%2Fthess.git base-files: sysupgrade: fix error message and typo Some minor error message and comment fixes. Signed-off-by: Luiz Angelo Daros de Luca --- diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 43e129e1d7..e6ce3bd183 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -203,7 +203,7 @@ add_overlayfiles() { if [ $SAVE_OVERLAY = 1 ]; then [ ! -d /overlay/upper/etc ] && { - echo "Cannot find '/overlay/upper/etc', required for '-c'" >&2 + echo "Cannot find '/overlay/upper/etc', required for '-c' or '-o'" >&2 exit 1 } sysupgrade_init_conffiles="add_overlayfiles" @@ -246,7 +246,7 @@ do_save_conffiles() { ask_bool 0 "Abort" && exit } - # Format: pkg-name{rom,overlay,unkown} + # Format: pkg-name{rom,overlay,unknown} # rom is used for pkgs in /rom, even if updated later find /usr/lib/opkg/info -name "*.control" \( \ \( -exec test -f /rom/{} \; -exec echo {} rom \; \) -o \