Skip to content

Commit 23879fd

Browse files
author
Oleksandr Shyshatskyi
committed
Exit from directadmin rebuild actor when control panel does not match
1 parent c2aa65b commit 23879fd

File tree

1 file changed

+1
-0
lines changed
  • repos/system_upgrade/cloudlinux/actors/rebuilddirectadmin

1 file changed

+1
-0
lines changed

repos/system_upgrade/cloudlinux/actors/rebuilddirectadmin/actor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def process(self):
2828

2929
if panel.name != DIRECTADMIN_NAME:
3030
self.log.debug('DirectAdmin not detected, skip rebuilding')
31+
return
3132

3233
try:
3334
run(['/bin/da', 'build', 'all'], checked=True)

0 commit comments

Comments
 (0)