Skip to content

Commit

Permalink
fixed syntax error (python3)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasLohr committed Jul 2, 2018
1 parent 20e9888 commit 5332123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion f5fpc-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
if args.debug:
logger.setLevel(logging.DEBUG)

if os.getuid() <> 0 and args.networks and len(args.networks) > 0:
if os.getuid() != 0 and args.networks and len(args.networks) > 0:
logging.warn('We need root privileges to set the network routes for you!')

container_name = get_container_name(args.host)
Expand Down

0 comments on commit 5332123

Please sign in to comment.