diff --git a/script.py b/script.py index e5ada40..c2025d6 100644 --- a/script.py +++ b/script.py @@ -60,6 +60,8 @@ if not time_ago_arg: device_info = run_command(['awk', '-F:', '{ print $2}'], based=device_info_grab.stdout) ip_address_show = subprocess.run(["ip", "addr", "show", "end0"], check=True, capture_output=True) ip_address = run_command(['awk', '$1 == "inet" {gsub(/\/.*$/, "", $2); print $2}' ], based=ip_address_show.stdout) +else: + since_last_boot = False