| 304 | } |
| 305 | |
| 306 | static int unregister_dir(void) |
| 307 | { |
| 308 | int res = 0; |
| 309 | |
| 310 | if (toggle_maintenance(0)) |
| 311 | res = error(_("could not turn off maintenance")); |
| 312 | |
| 313 | if (add_or_remove_enlistment(0)) |
| 314 | res = error(_("could not remove enlistment")); |
| 315 | |
| 316 | return res; |
| 317 | } |
| 318 | |
| 319 | /* printf-style interface, expects `<key>=<value>` argument */ |
| 320 | __attribute__((format (printf, 1, 2))) |
no test coverage detected