From ab1d749cc96441a40c416e8a16c8eed6a867f7a5 Mon Sep 17 00:00:00 2001 From: Graham Gilbert Date: Wed, 14 Aug 2024 11:54:40 -0700 Subject: [PATCH] default --- lib/facter/munki_last_run_unix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/munki_last_run_unix.rb b/lib/facter/munki_last_run_unix.rb index 93fa620..040d9e7 100644 --- a/lib/facter/munki_last_run_unix.rb +++ b/lib/facter/munki_last_run_unix.rb @@ -12,6 +12,6 @@ else last_run = Time.parse(munki_last_run).to_i end - last_run + last_run || 0 end end