aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-04 17:23:47 +0200
committerWynn Wolf Arbor2020-06-04 17:23:47 +0200
commit34eaa010bca7f12b1265d39995f4650b3e8e6be0 (patch)
treece69fd9c8c01881cfcfc621c95ca154e840a0b85
parent777add8b775e36d8ebbe057ad84e8b691c7e86c7 (diff)
downloadlifeboat-34eaa010bca7f12b1265d39995f4650b3e8e6be0.tar.gz
Remove superfluous subshell from run_backup()
-rwxr-xr-xlifeboat20
1 files changed, 9 insertions, 11 deletions
diff --git a/lifeboat b/lifeboat
index ec13352..f368433 100755
--- a/lifeboat
+++ b/lifeboat
@@ -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() {