diff options
| author | Philip Prindeville | 2023-09-16 21:13:06 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-02-12 15:57:28 +0000 |
| commit | d324c0503040914dd125298093c83fd07bf9f012 (patch) | |
| tree | 07740141a98dc643a23a58f3bed2cdce64e14b33 | |
| parent | 7928f1711703767b0ac5ce916c7231d0e1af1ca2 (diff) | |
| download | libubox-d324c0503040914dd125298093c83fd07bf9f012.tar.gz | |
libubox: send warnings to stderr
Errors are sent to stderr in all but once place.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Link: https://github.com/openwrt/libubox/pull/12
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | sh/jshn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ json_select() { ;; *) [ -n "$_json_no_warning" ] || \ - echo "WARNING: Variable '$target' does not exist or is not an array/object" + echo "WARNING: Variable '$target' does not exist or is not an array/object" >&2 return 1 ;; esac |