aboutsummarylogtreecommitdiffstats
path: root/fetcher.sh
diff options
context:
space:
mode:
authorManoel Brunnen2016-09-26 15:06:39 +0200
committerManoel Brunnen2016-09-26 15:16:52 +0200
commit653c6e929bd474e6c2443d5826b5c34675e69ed0 (patch)
tree1d0d172b8d4b74440a0e45222a194ee9d73b3de9 /fetcher.sh
parent18311d8c58e81f2b0a21e4087d0c573da38f1c55 (diff)
downloadaur-653c6e929bd474e6c2443d5826b5c34675e69ed0.tar.gz
fetcher babbelt jetzt ab systemd log level 5
Diffstat (limited to 'fetcher.sh')
-rwxr-xr-xfetcher.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/fetcher.sh b/fetcher.sh
index 01a5b724221f..e215846c87a6 100755
--- a/fetcher.sh
+++ b/fetcher.sh
@@ -21,9 +21,9 @@ exec 3>&1 4>&2
# Restore stdout and stderr
trap 'exec 2>&4 1>&3' 0 1 2 3
# Use tee to redirect fd 1 to logfile.out and to stdout
-exec 1> >(tee >(systemd-cat --identifier="$script_name" --priority="debug") >&3)
+exec 1> >(tee >(systemd-cat --identifier="$script_name" --priority="info") >&3)
# Use tee to redirect fd 2 to logfile.err and to stderr
-exec 2> >(tee >(systemd-cat --identifier="$script_name" --priority="warning") >&4)
+exec 2> >(tee >(systemd-cat --identifier="$script_name" --priority="notice") >&4)
#================================= Functions =================================
function config_usage() {
@@ -100,11 +100,11 @@ for ((i=0; i < ${#lines[@]}; i++)); do
if $dryrun; then
cmd="git -C $path add -n -A"
cmd="$cmd && git -C $path commit -n -v"
- cmd="$cmd && git -C $path push -n $remote $branch"
+ cmd="$cmd; git -C $path push -n $remote $branch"
else
cmd="git -C $path add -A"
cmd="$cmd && git -C $path commit -v"
- cmd="$cmd && git -C $path push $remote $branch"
+ cmd="$cmd; git -C $path push $remote $branch"
fi
;;
pull)
@@ -133,4 +133,3 @@ done
echo '=============================================================================='
echo "fetcher processed successfully $configfile."
echo '=============================================================================='
-