components/openstack/swift/patches/orphans.patch
branchs11-update
changeset 3178 77584387a894
parent 3135 0a68f5e884e0
child 5448 56f4540f741d
--- a/components/openstack/swift/patches/orphans.patch	Wed Jun 11 05:34:04 2014 -0700
+++ b/components/openstack/swift/patches/orphans.patch	Fri Jun 13 09:10:23 2014 -0700
@@ -4,7 +4,7 @@
 diff --git a/bin/swift-orphans b/bin/swift-orphans
 --- a/bin/swift-orphans
 +++ b/bin/swift-orphans
-@@ -42,12 +42,12 @@ Example (sends SIGTERM to all orphaned S
+@@ -54,12 +54,12 @@ Example (sends SIGTERM to all orphaned S
              if name.endswith('.pid'):
                  pids.append(open(os.path.join(root, name)).read().strip())
                  pids.extend(subprocess.Popen(
@@ -19,7 +19,7 @@
              stdout=subprocess.PIPE).communicate()[0].split('\n'):
          if not line:
              continue
-@@ -58,6 +58,7 @@ Example (sends SIGTERM to all orphaned S
+@@ -70,6 +70,7 @@ Example (sends SIGTERM to all orphaned S
              sys.exit('Could not process ps line %r' % line)
          if pid in pids:
              continue