Skip to content

Commit

Permalink
Merge branch 'NAS-131141' of github.com:freenas/freenas into NAS-131141
Browse files Browse the repository at this point in the history
  • Loading branch information
themylogin committed Sep 20, 2024
2 parents 8ba58bb + 92d5285 commit aa4809f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async def update(self, app, job, attrs):
await self.middleware.call_hook('update.post_update')

if attrs['reboot']:
await self.middleware.call('system.reboot', 'System upgrade', {'delay': 10}, app=app)
await self.middleware.call('system.reboot', SYSTEM_UPGRADE_REBOOT_REASON, {'delay': 10}, app=app)

return True

Expand Down

0 comments on commit aa4809f

Please sign in to comment.