summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/accounting4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.d/accounting b/etc/rc.d/accounting
index 85483fe..0c7ac36c 100755
--- a/etc/rc.d/accounting
+++ b/etc/rc.d/accounting
@@ -65,9 +65,7 @@ accounting_rotate_log()
mv ${accounting_file} ${accounting_file}.0
if checkyesno accounting_enable; then
- ln $_file ${accounting_file##*/}
- ${accounting_command} ${accounting_file}
- unlink $_file
+ mv $_file ${accounting_file}
fi
}
OpenPOWER on IntegriCloud