mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
fix byobu_test because the tools return err when no arg is passed
This commit is contained in:
parent
dbccf9014b
commit
5a77eb6998
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then
|
||||||
|
|
||||||
# Find command/type/which
|
# Find command/type/which
|
||||||
for BYOBU_TEST in "command -v" "type" "which"; do
|
for BYOBU_TEST in "command -v" "type" "which"; do
|
||||||
eval $BYOBU_TEST >/dev/null 2>&1 && break || true
|
eval $BYOBU_TEST ls >/dev/null 2>&1 && break || true
|
||||||
done
|
done
|
||||||
|
|
||||||
# If the backend is already set (eg. running `byobu-tmux`), do nothing.
|
# If the backend is already set (eg. running `byobu-tmux`), do nothing.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue