Skip to content

Commit

Permalink
remove the unnecessary branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kissiel committed Jan 11, 2024
1 parent 2783722 commit cb4ea6b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions providers/base/bin/disk_smart.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,7 @@ def main():
)
else:
success = False
if success is False:
return 1
else:
return 0
return not success


if __name__ == "__main__":
Expand Down

0 comments on commit cb4ea6b

Please sign in to comment.