From 4b8def7a2f4b4df399762540acf2428146331a91 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 12 Oct 2013 17:08:10 -0400 Subject: Move init() and fini() calls into commands. Now locking really isn't done for help and version commands. --- (limited to 'lib/cmd/remove-suite.sh') 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 } -- cgit v0.9.1