diff --git a/perl-xCAT/perl-xCAT.spec b/perl-xCAT/perl-xCAT.spec index a8fb455f5..2532bb067 100644 --- a/perl-xCAT/perl-xCAT.spec +++ b/perl-xCAT/perl-xCAT.spec @@ -141,18 +141,8 @@ fi if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings if [ -x /etc/init.d/xcatd ] && [ -f "/proc/cmdline" ]; then . /etc/profile.d/xcat.sh - /etc/init.d/xcatd reload fi fi -%else -if [ "$1" -gt 1 ]; then #Ugrade only, restart daemon and migrate settings - if [ -n "$INUCLIENTS" ] && [ $INUCLIENTS -eq 1 ]; then - #Do nothing in not running system - echo "Do not restartxcatd in not running system" - else - XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/restartxcatd -r - fi -fi %endif exit 0