The exit code is always 1 of 'smbstatus --profile'.
Created attachment 10457 [details] v4-2-test patch
Created attachment 10459 [details] v4-1-test patch
Comment on attachment 10457 [details] v4-2-test patch LGTM.
Comment on attachment 10459 [details] v4-1-test patch LGTM.
Re-assigning to Karolin for inclusion in 4.1.next, 4.2.0.
(In reply to Jeremy Allison from comment #5) Pushed to autobuild-v4-2-test (v4-1-test is frozen currently).
Pushed to v4-2-test. Pushed to autobuild-v4-1-test.
Pushed to v4-1-test. Closing out bug report. Thanks!