From 5483df804c018fdced2608e9a039b3ddf3e18a87 Mon Sep 17 00:00:00 2001 From: Bill Cromie Date: Sun, 22 Jan 2017 17:20:51 -0500 Subject: [PATCH] adding git status for /root/mailinabox --- tools/collect_debug_info.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/collect_debug_info.sh b/tools/collect_debug_info.sh index 252b08ea..b0cda1c8 100644 --- a/tools/collect_debug_info.sh +++ b/tools/collect_debug_info.sh @@ -45,7 +45,8 @@ touch $TMP_FILE; echo >> $TMP_FILE; # newline after status_checks # all of the commands we want to run. -declare -a commands=("uptime" +declare -a commands=("git -C /root/mailinabox status" + "uptime" "lsb_release -a" "free -m" "df -h" @@ -60,8 +61,7 @@ declare -a commands=("uptime" "cat /var/log/syslog" "cat /var/log/mail.log" "cat /var/log/boot.log" - "cat /var/log/roundcubemail/errors" - ) + "cat /var/log/roundcubemail/errors") function name_and_delineator () { CMD_LENGTH=${#1}