Browse code

Merge "No need to loop over with pkill -f"

Jenkins authored on 2014/02/07 02:21:05
Showing 1 changed files
... ...
@@ -657,10 +657,8 @@ function stop_swift() {
657 657
     if type -p swift-init >/dev/null; then
658 658
         swift-init --run-dir=${SWIFT_DATA_DIR}/run all stop || true
659 659
     fi
660
-    for type in proxy object container account; do
661
-        # Dump all of the servers
662
-        pkill -f swift-
663
-    done
660
+    # Dump all of the servers
661
+    pkill -f swift-
664 662
 }
665 663
 
666 664
 # Restore xtrace