Skip to content

Commit

Permalink
#31 - Fix bugs with last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vars1ty committed Jan 22, 2023
1 parent 9c59fdd commit ac36086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fn replace_if_present(content: &mut String, find: &str, replace: &str, found_any
pub fn use_aliases(content: &str) -> String {
// TODO: Clean this up.
if SYSINFO.is_none() {
// lxinfo doesn't work on this system at the moment, skip.
return content.to_owned();
log!("System Info isn't available for this system, therefore aliases have been disabled.");
return execute!(content);
}

let info = SYSINFO
Expand Down

0 comments on commit ac36086

Please sign in to comment.