From 61109608e7c75cef76ff592abad41e7d88614bd6 Mon Sep 17 00:00:00 2001 From: Kayou Date: Wed, 3 Jul 2024 09:55:13 +0200 Subject: [PATCH] oupsie --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 31ba72f..c8627de 100644 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log) pushd "$NETDATA_TMPDIR" # the installer.sh script will append "netdata" after the --install-prefix arg - if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then + if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then tail -n50 $tmplog ynh_die "FAILED TO COMPILE/INSTALL NETDATA" fi diff --git a/scripts/restore b/scripts/restore index b1c96d2..c4a8e81 100644 --- a/scripts/restore +++ b/scripts/restore @@ -33,7 +33,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log) pushd "$NETDATA_TMPDIR" # the installer.sh script will append "netdata" after the --install-prefix arg - if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then + if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then tail -n50 $tmplog ynh_die "FAILED TO COMPILE/INSTALL NETDATA" fi diff --git a/scripts/upgrade b/scripts/upgrade index 89f8bab..43c6b59 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ tmplog=$(mktemp /tmp/netdata-updater-log-XXXXXX.log) pushd "$NETDATA_TMPDIR" # the installer.sh script will append "netdata" after the --install-prefix arg - if !./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then + if ! ./netdata-installer.sh --install-prefix /var/www/ --dont-wait --disable-cloud --disable-telemetry --stable-channel > "$tmplog" 2>&1; then tail -n50 $tmplog ynh_die "FAILED TO COMPILE/INSTALL NETDATA" fi