Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
update/upgrade ALL processes last jail twice (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsegaert authored and Brandon Schneider committed Dec 22, 2018
1 parent 94dc51c commit 8fc8875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iocage_lib/iocage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,7 @@ def update(self):
"""Updates a jail to the latest patchset."""
if self._all:
self.update_all()
return

uuid, path = self.__check_jail_existence__()
conf = ioc_json.IOCJson(
Expand Down Expand Up @@ -1901,6 +1902,7 @@ def upgrade_all(self, release):
def upgrade(self, release):
if self._all:
self.upgrade_all(release)
return

if release is not None:
host_release = float(os.uname()[2].rsplit("-", 1)[0].rsplit(
Expand Down

0 comments on commit 8fc8875

Please sign in to comment.