Skip to content

Commit c413f74

Browse files
committed
force update on every run for sb-go migration
1 parent ff1f4e6 commit c413f74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sb.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,6 +1740,11 @@ def main():
17401740
saltbox_user = get_saltbox_user()
17411741
relaunch_as_root()
17421742

1743+
# Force update and migrate to /usr/local/bin/sb
1744+
update_sb(SB_REPO_PATH)
1745+
result = subprocess.run(['/usr/local/bin/sb'] + sys.argv[1:], check=True)
1746+
sys.exit(result.returncode)
1747+
17431748
parser = create_parser()
17441749
args = parser.parse_args()
17451750

0 commit comments

Comments
 (0)