Skip to content

Commit

Permalink
Update entry.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
peng9808 authored Jan 24, 2024
1 parent 36380db commit b717308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-drbd9/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ else
nsenter --target 1 --mount --uts --ipc --net --pid chmod +x /root/install_deb.sh
nsenter --target 1 --mount --uts --ipc --net --pid ./root/install_deb.sh
exit_code=$?
if [ $exit_code -eq 0 ]; then
if [ $exit_code -eq 0 ] || [ $exit_code -eq 13 ]; then
nsenter --target 1 --mount --uts --ipc --net --pid modprobe drbd
nsenter --target 1 --mount --uts --ipc --net --pid modprobe drbd_transport_tcp
exit_code=$?
Expand Down

0 comments on commit b717308

Please sign in to comment.