From 36d4b5ebea27762147d40d7fcd282dd593c6227c Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sun, 12 Aug 2018 10:57:42 -0400 Subject: [PATCH] Do not ignore error messages in plugin cleanup command --- webodm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webodm.sh b/webodm.sh index 06889eeb..3b6289a0 100755 --- a/webodm.sh +++ b/webodm.sh @@ -256,7 +256,7 @@ rebuild(){ plugin_cleanup(){ # Delete all node_modules and build directories within plugins' public/ folders - find plugins/ -type d \( -name build -o -name node_modules \) -path 'plugins/*/public/*' -exec rm -frv '{}' \; 2>/dev/null + find plugins/ -type d \( -name build -o -name node_modules \) -path 'plugins/*/public/*' -exec rm -frv '{}' \; } plugin_list(){