Skip to content

Commit

Permalink
fix: handle return status value for ifreload
Browse files Browse the repository at this point in the history
  • Loading branch information
bartei81 committed May 23, 2024
1 parent db031c0 commit 2c21599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rotary_controller_python/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ def reload_interfaces():
log.error(message)
return message

reload = subprocess.run(["ifreload", "-a"])
print(result.stdout)
reload = subprocess.run(["ifreload", "-av"])
return reload.stdout

0 comments on commit 2c21599

Please sign in to comment.