Skip to content

Commit

Permalink
explicit return None in get_exist_path
Browse files Browse the repository at this point in the history
Signed-off-by: ladyrick <[email protected]>
  • Loading branch information
ladyrick committed Feb 2, 2024
1 parent ab06ae4 commit 1f3117b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/docker/systemctl3.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def get_exist_path(paths):
for p in paths:
if os.path.exists(p):
return p
return None

def get_PAGER():
PAGER = os.environ.get("PAGER", "less")
Expand Down

0 comments on commit 1f3117b

Please sign in to comment.