diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bf7c142..ed2a119 100644 --- a/src/main.rs +++ b/src/main.rs @@ -153,7 +153,7 @@ fn work() -> Result<(), io::Error> { let mut cache_dir = PathBuf::default(); if flags.backup { let ts = require!(SystemTime::now().duration_since(UNIX_EPOCH)) - .as_secs() + .as_nanos() .to_string(); let cache_base = env::var("XDG_CACHE_HOME").unwrap_or_else(|_| { err!("XDG_CACHE_HOME variable must be set"); |