From d2d5f80f00eeff0075a037297195485d37d4dde4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 1 Oct 2005 02:18:54 +0000 Subject: Correctly mkdir and chown --- packages/ntop/ntop.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/ntop/ntop.xml b/packages/ntop/ntop.xml index 375aac53..9777a77a 100644 --- a/packages/ntop/ntop.xml +++ b/packages/ntop/ntop.xml @@ -67,7 +67,7 @@ $ntop_config =& $_POST; $if_final = ""; $ifaces_final = ""; - system("mkdir -p /var/db/ntopchown nobody:nobody /var/db/ntop"); + system("mkdir -p /var/db/ntop"); system("chown nobody:nobody /var/db/ntop"); if($ntop_config['password'] and $ntop_config['passwordagain']) { if($ntop_config['password'] == $ntop_config['passwordagain']) { -- cgit v1.2.3