> > + su - $sidadm -c "cleanipc $InstanceNr remove" > > + ocf_log info "Tried to remove shared memory resources using 'cleanipc $InstanceNr remove' as user $sidadm" > > + > > + if [ -f "/usr/sap/$SID/$InstanceName/work/" ] > > test -f dir will always fail. Perhaps test -d?
No, the filename has somehow gone. Correct is: if [ -f "/usr/sap/$SID/$InstanceName/work/kill.sap" ] Next patch will have the fix. Very good you found this :-) Thanks Alex _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
