You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not quite true.
The return value logic depends on the command used. For example, the "update" command was patched by me in 2015 to provide an error on failed feed updates.
Based on the source code, also the package install step usually provides an error code, with the exception of the case that you encountered: no feed found. Then there is plain "return 0" despite the error condition.
luizluca:
Hello,
Script feeds always returns 0, no matter if it did what it was asked to or not
$ ./scripts/feeds install foobar && echo ok || echo err WARNING: No feed for package 'foobar' found ok
The text was updated successfully, but these errors were encountered: