2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

Put stderr in the upgrade.log

This commit is contained in:
Jarrod Johnson
2019-04-15 16:41:51 -04:00
parent 47d8ae83c0
commit 51d87d4d36

View File

@@ -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