From 51d87d4d36444bf48b0cbd9ed249ef3ad21f2511 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 15 Apr 2019 16:41:51 -0400 Subject: [PATCH] Put stderr in the upgrade.log --- xCAT/xCAT.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index bda78e298..e143ac1f8 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -240,7 +240,7 @@ fi mkdir -p /var/log/xcat date >> /var/log/xcat/upgrade.log -$RPM_INSTALL_PREFIX0/sbin/xcatconfig -u -V >> /var/log/xcat/upgrade.log +$RPM_INSTALL_PREFIX0/sbin/xcatconfig -u -V >> /var/log/xcat/upgrade.log 2>&1 if grep "Failed to copy /opt/xcat/share/xcat/netboot/genesis/x86_64/fs" /var/log/xcat/upgrade.log; then echo 'mknb failed to complete successfully' fi