[Samba] smbstatus exit value
aflorent at iris-tech.fr
Tue Jun 18 07:21:03 UTC 2019
according to source
it can return -1 (=255 ie can't load conf file / Out of memory ) or 1
(ie not run as root ) and 0 on success
Le 17/06/2019 à 16:50, Santiago DIEZ via samba a écrit :
> Despite looking at
> https://www.samba.org/samba/docs/current/man-html/smbstatus.1.html and
> "man smbstatus", I don't see how to know the full list of possible
> exit status for command smbstatus.
> All I could test brings an exit code of 0 in most cases and 255 if
> option -s is an unreadable file.
> Is there a man page that lists all possible return values?
More information about the samba