From 1ca035692cc17a5155e3e0ac2e48d9e85e58fc65 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 17 May 2017 17:02:36 +0200 Subject: [PATCH] TT#15855 Fix shellcheck warning for moh-cleanup Change-Id: If3d60cbe717390f2372261484e7cbea568c9d247 --- moh-cleanup | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/moh-cleanup b/moh-cleanup index 29dc968..203bb3f 100755 --- a/moh-cleanup +++ b/moh-cleanup @@ -2,6 +2,4 @@ # removes all music-on-hold cache files older than 24h -for f in $(find /var/spool/ngcp/moh/ -type f -ctime 1); do - rm $f -done +find /var/spool/ngcp/moh/ -type f -ctime 1 -exec rm {} \;