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/copy-suite.sh') diff --git a/lib/cmd/copy-suite.sh b/lib/cmd/copy-suite.sh index 5a5c7a1..304b3fd 100644 --- a/lib/cmd/copy-suite.sh +++ b/lib/cmd/copy-suite.sh @@ -28,6 +28,8 @@ cmd_copy_suite_main() local dst_chan= local dst_dist= + init + src_chan="${src_suite%/*}" src_dist="${src_suite##*/}" if [ "x${src_chan}" = "x${src_suite}" ]; then @@ -43,5 +45,7 @@ cmd_copy_suite_main() "${src_chan}" "${src_dist}" "${dst_chan}" "${dst_dist}" copy_suite "${src_chan}" "${src_dist}" "${dst_chan}" "${dst_dist}" + fini + return 0 } -- cgit v0.9.1