Index: write.c =================================================================== --- write.c (revision 35038) +++ write.c (revision 35039) @@ -414,7 +414,7 @@ if (pads_write_blk_partdecals(wctx) != 0) return -1; if (pads_write_blk_misc_layers(wctx) != 0) return -1; - return -1; + return 0; } static int io_pads_write_pcb(pcb_plug_io_t *ctx, FILE *f, const char *old_filename, const char *new_filename, rnd_bool emergency, double ver)