1
0
Fork 0
This commit is contained in:
VirtuBox 2019-11-13 13:57:46 +01:00
parent d703e7da58
commit c94594b724
Signed by: virtubox
GPG Key ID: 22EB296C97BAD476
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ _run() {
if [ -n "$2" ]; then
echo -ne "${TPUT_ECHO}${2}${TPUT_RESET}\t"
fi
if ! { "$1" >>"$wo_install_log" 2>&1; }; then
if ! { "$1"; }; then
if [ -n "$2" ]; then
echo -e "${TPUT_FAIL}[KO]${TPUT_RESET}"
fi
@ -721,6 +721,6 @@ alias vdir='vdir --color=auto'
alias wo-virtualenv=_PYTHON_VIRTUALENV
alias wp-fix-perms=_WP_PERMISSIONS
alias upgrade-wo-full=_WO_FULL_UPGRADE
alias speedtestnet="_run _SPEEDTEST \"Installing speedtest\""
alias speedtestnet="_run bash _SPEEDTEST \"Installing speedtest\""
alias SSETUP=_SETUP_CONTROLLER
alias journalctfail='journalctl -b -p err -S "yesterday"'