Skip to content

Commit

Permalink
Merge pull request #1125 from FabianKramm/fix
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
FabianKramm authored Jul 1, 2020
2 parents 93e3b71 + 71de190 commit db7996b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/pages/configuration/images/inject-restart-helper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ while true; do
exit_code=$?
if [ -f /.devspace/devspace-pid ]; then
# if the sync is currently active we try to restart instead of exiting
if [ -f /tmp/sync ]; then
if [ -f /tmp/devspacehelper ]; then
rm -f /.devspace/devspace-pid
printf "\nContainer exited with $exit_code. Will restart in 7 seconds...\n"
sleep 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ while true; do
exit_code=$?
if [ -f /devspace-pid ]; then
# if the sync is currently active we try to restart instead of exiting
if [ -f /tmp/sync ]; then
if [ -f /tmp/devspacehelper ]; then
rm -f /devspace-pid
printf "\nContainer exited with $exit_code. Will restart in 7 seconds...\n"
sleep 7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ while true; do
exit_code=$?
if [ -f /devspace-pid ]; then
# if the sync is currently active we try to restart instead of exiting
if [ -f /tmp/sync ]; then
if [ -f /tmp/devspacehelper ]; then
rm -f /devspace-pid
printf "\nContainer exited with $exit_code. Will restart in 7 seconds...\n"
sleep 7
Expand Down
2 changes: 1 addition & 1 deletion pkg/devspace/build/builder/restart/restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ while true; do
exit_code=$?
if [ -f /.devspace/devspace-pid ]; then
# if the sync is currently active we try to restart instead of exiting
if [ -f /tmp/sync ]; then
if [ -f /tmp/devspacehelper ]; then
rm -f /.devspace/devspace-pid
printf "\nContainer exited with $exit_code. Will restart in 7 seconds...\n"
sleep 7
Expand Down

0 comments on commit db7996b

Please sign in to comment.