diff options
author | Wynn Wolf Arbor | 2020-06-04 17:23:47 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-06-04 17:23:47 +0200 |
commit | 34eaa010bca7f12b1265d39995f4650b3e8e6be0 (patch) | |
tree | ce69fd9c8c01881cfcfc621c95ca154e840a0b85 | |
parent | 777add8b775e36d8ebbe057ad84e8b691c7e86c7 (diff) | |
download | lifeboat-34eaa010bca7f12b1265d39995f4650b3e8e6be0.tar.gz |
Remove superfluous subshell from run_backup()
-rwxr-xr-x | lifeboat | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -19,17 +19,15 @@ usage() { } run_backup() { - ( - cd "$LIFEBOAT_ROOT/$repo" - - for i in run retain clean sync; do - if test -x $i; then - ./$i - else - ${i}_default; - fi - done - ) + cd "$LIFEBOAT_ROOT/$repo" + + for i in run retain clean sync; do + if test -x $i; then + ./$i + else + ${i}_default; + fi + done } run_default() { |