From 83856e339ce400848db59f106b1717a1f24df7da Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Thu, 28 Jul 2011 16:25:22 +0200
Subject: [PATCH] delete pac directories

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
index 975af38..1423b48 100644
--- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -114,7 +114,7 @@
 	}
 
 	private ShellProcessor createDelUserProc(String pacName) {
-		return new ShellProcessor("rm -rf /home/pacs/" + pacName + "/* && deluser --remove-all-files " + pacName);
+		return new ShellProcessor("rm -rf /home/pacs/" + pacName + "/* && deluser --remove-all-files " + pacName + ">/dev/null 2>&1");
 	}
 
 	private ShellProcessor createMakePacDirectoryStructure(UnixUser unixUser) {

--
Gitblit v1.9.0-SNAPSHOT