git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-selftest: fix return code for modprinter.pl -a.
[abartlet/samba.git/.git]
/
source3
/
script
/
tests
/
printing
/
modprinter.pl
diff --git
a/source3/script/tests/printing/modprinter.pl
b/source3/script/tests/printing/modprinter.pl
index 406484188daf0283e69bc4fd185204959e1272dd..9e5e3292c6cad6ceba3041f1160b507773962bb9 100755
(executable)
--- a/
source3/script/tests/printing/modprinter.pl
+++ b/
source3/script/tests/printing/modprinter.pl
@@
-95,7
+95,8
@@
while (<CONFIGFILE>) {
if ($section eq $share_name) {
$found_section = 1;
if ($opt_add) {
- die("share $share_name already exists\n");
+ exit 0;
+# die("share $share_name already exists\n");
}
if ($opt_delete) {
$within_section = 1;