Prep for release

This commit is contained in:
Luke D. Jones
2021-05-24 22:10:30 +12:00
parent 2b58e259de
commit ef7e2135bf
2 changed files with 9 additions and 6 deletions

View File

@@ -87,12 +87,7 @@ impl Config {
.write(true)
.create(true)
.open(&CONFIG_PATH)
.unwrap_or_else(|_| {
panic!(
"The file {} or directory /etc/asusd/ is missing",
CONFIG_PATH
)
}); // okay to cause panic here
.unwrap_or_else(|_| panic!("The directory /etc/asusd/ is missing")); // okay to cause panic here
let mut buf = String::new();
if let Ok(read_len) = file.read_to_string(&mut buf) {
if read_len == 0 {