Merge "No need to loop over with pkill -f"
This commit is contained in:
commit
f583a04d73
@ -657,10 +657,8 @@ function stop_swift() {
|
|||||||
if type -p swift-init >/dev/null; then
|
if type -p swift-init >/dev/null; then
|
||||||
swift-init --run-dir=${SWIFT_DATA_DIR}/run all stop || true
|
swift-init --run-dir=${SWIFT_DATA_DIR}/run all stop || true
|
||||||
fi
|
fi
|
||||||
for type in proxy object container account; do
|
# Dump all of the servers
|
||||||
# Dump all of the servers
|
pkill -f swift-
|
||||||
pkill -f swift-
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
|
Loading…
Reference in New Issue
Block a user