Skip to content

Commit

Permalink
Fix diff path
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Jul 16, 2024
1 parent d940a59 commit f312517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildbot/start_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function is_worker_connected() {
}

function script_needs_update() {
git -C ${SCRIPT_DIR} fetch && ! git -C ${SCRIPT_DIR} diff FETCH_HEAD -- buildbot/
git -C ${SCRIPT_DIR} fetch && ! git -C ${SCRIPT_DIR} diff FETCH_HEAD -- .
}

function shutdown_maybe() {
Expand All @@ -163,7 +163,7 @@ function shutdown_maybe() {
cat /proc/uptime
fi
echo "Rebooting..."
while sudo pkill -SIGHUP buildbot-worker; do sleep 5; done;
while pkill -SIGHUP buildbot-worker; do sleep 5; done;
shutdown now
sleep 1000
}
Expand Down

0 comments on commit f312517

Please sign in to comment.