func svcSeafile: removed duplicate warnings

This commit is contained in:
Asif Bacchus 2019-05-19 00:06:21 -06:00
parent 4d7f697426
commit 5eba4ae907

View File

@ -209,17 +209,11 @@ function svcSeafile {
# force stop seahub # force stop seahub
if [ $pidShub ]; then if [ $pidShub ]; then
pkill -f "seahub" pkill -f "seahub"
echo -e "${warn}[$(stamp)] -- [WARN] Could NOT stop" \
"Seahub normally (forced stop) --${normal}" \
>> "$logFile"
exitWarn+=("[$(stamp)]_101") exitWarn+=("[$(stamp)]_101")
fi fi
# force stop seafile # force stop seafile
if [ $pidSeaf ]; then if [ $pidSeaf ]; then
pkill -f seafile-controller pkill -f seafile-controller
echo -e "${warn}[$(stamp)] -- [WARN] Could NOT stop" \
"Seafile normally (forced stop) --${normal}" \
>> "$logFile"
exitWarn+=("[$(stamp)]_101") exitWarn+=("[$(stamp)]_101")
fi fi
echo -e "${info}[$(stamp)] -- [INFO] Seafile services stopped" \ echo -e "${info}[$(stamp)] -- [INFO] Seafile services stopped" \