diff options
author | P. J. McDermott <pjm@nac.net> | 2013-10-12 17:08:10 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-10-12 17:08:10 (EDT) |
commit | 4b8def7a2f4b4df399762540acf2428146331a91 (patch) | |
tree | dd2ed06b35692a09605028fef82b677c769346a8 /lib/cmd/remove-suite.sh | |
parent | 22b003b01a7ed817464b2fc0b776f2c3fb0cb65c (diff) |
Move init() and fini() calls into commands.
Now locking really isn't done for help and version commands.
Diffstat (limited to 'lib/cmd/remove-suite.sh')
-rw-r--r-- | lib/cmd/remove-suite.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cmd/remove-suite.sh b/lib/cmd/remove-suite.sh index 53baa3f..5fbc46c 100644 --- a/lib/cmd/remove-suite.sh +++ b/lib/cmd/remove-suite.sh @@ -25,6 +25,8 @@ cmd_remove_suite_main() local chan= local dist= + init + chan="${suite%/*}" dist="${suite##*/}" if [ "x${chan}" = "x${suite}" ]; then @@ -35,5 +37,7 @@ cmd_remove_suite_main() "${chan}" "${dist}" remove_suite "${chan}" "${dist}" + fini + return 0 } |