net:conf:import: print error message when importing fails.
commit3bc8d520e9446b3ddbfca8594ddbbed1bee23712
authorMichael Adam <obnox@samba.org>
Fri, 26 Jun 2015 11:54:57 +0000 (26 13:54 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 30 Jun 2015 12:23:18 +0000 (30 14:23 +0200)
tree041589f201394395a32918ca828199eba24893ef
parent7372f17cb108099590fc753974b0a33426dff232
net:conf:import: print error message when importing fails.

If there is a mis-spelled option in a share definition,
'net conf import' will currently silently drop it
(but exit with code != 0). We want to be notified
of what went wrong.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/utils/net_conf.c