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/copy-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/copy-suite.sh')
-rw-r--r-- | lib/cmd/copy-suite.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |