Skip to content

Commit

Permalink
style2
Browse files Browse the repository at this point in the history
  • Loading branch information
erikw authored Feb 10, 2025
1 parent 4c658c2 commit 89906ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ is_tmp_valid() {
}

command_exists() {
command -v "$1" > /dev/null
command -v "$1" >/dev/null
}
1 change: 0 additions & 1 deletion segments/hostname.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ run_segment() {
fi
fi


if command_exists hostname; then
hostname ${opts}
elif command_exists hostnamectl; then
Expand Down

0 comments on commit 89906ed

Please sign in to comment.