summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/etc
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/etc')
-rwxr-xr-xsca-cpp/trunk/etc/httpd-ipcrm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-cpp/trunk/etc/httpd-ipcrm b/sca-cpp/trunk/etc/httpd-ipcrm
index b457e7385f..860b724296 100755
--- a/sca-cpp/trunk/etc/httpd-ipcrm
+++ b/sca-cpp/trunk/etc/httpd-ipcrm
@@ -19,5 +19,6 @@
# Remove ipcs created by httpd
-ipcs -s | grep 0x | awk '{ print $2 }' | xargs -i -t ipcrm -s {}
+id=`id -un`
+ipcs -s | grep "$id" | grep "0x" | awk '{ print $2 }' | xargs -i -t ipcrm -s {}