Browse Source

Packaging|ubuntu, issue #601: Allow packaging prerm to do its job

Daniel Mizyrycki 12 years ago
parent
commit
41cdd9b27f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packaging/ubuntu/lxc-docker.prerm

+ 1 - 1
packaging/ubuntu/lxc-docker.prerm

@@ -1,4 +1,4 @@
 #!/bin/sh
 
 # Stop docker
-/sbin/stop docker
+if [ "`pgrep -f '/usr/bin/docker -d'`" != "" ]; then /sbin/stop docker; fi