s3-selftest: fix return code for modprinter.pl -a.
authorGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 10:20:49 +0000 (11:20 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 10:23:59 +0000 (11:23 +0100)
commitb6f58e25b5bbce25d4e8825e680afe3986f10e8c
tree1959c96fc12eceaf751aef9625fb94b24d381a62
parentc42d9c4ec410e205091784cd97cbceb5572609d8
s3-selftest: fix return code for modprinter.pl -a.

Background is: the SetPrinter level 2 calls "addprinter command" an fails if a
share already existed (and the addprinter command returned a non-0 return code).
Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to
see if a share already exists before calling out the addprinter command.

Maybe one day, we need to have a "changeprinter command"...

Guenther
source3/script/tests/printing/modprinter.pl