From c823c37fdea1240884004eeab84905a191f904ee Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Mon, 15 Oct 2012 10:34:23 +0000 Subject: [PATCH] =?UTF-8?q?Oubli=20d'une=20variable=20path=20=C3=A0=20mett?= =?UTF-8?q?re=20entre=20""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/update_mails.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_mails.sh b/src/update_mails.sh index 6eae8b18..657ce989 100755 --- a/src/update_mails.sh +++ b/src/update_mails.sh @@ -58,7 +58,7 @@ mysql_query "SELECT id, quote(replace(path,'!','\\!')) FROM mailbox WHERE mail_a if [ -d "$path" ] ; then $ionice rm -rf "$path" && mysql_query "DELETE FROM mailbox WHERE id=$id AND mail_action='DELETING';" # Do the rm again in case of newly added file during delete. Should not be usefull - test -d "$path" && $ionice rm -rf $path + test -d "$path" && $ionice rm -rf "$path" else mysql_query "DELETE FROM mailbox WHERE id=$id AND mail_action='DELETING';" fi