Package: sysstat / 12.0.3-2

08-scripts.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Robert Luberda <robert@debian.org>
Date: Tue, 23 Mar 2010 22:04:47 +0100
Subject: Fix paths in sa2 script

---
 sa2.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sa2.in b/sa2.in
index 4dcf06c..b814e5a 100644
--- a/sa2.in
+++ b/sa2.in
@@ -45,7 +45,7 @@ ENDIR=@bindir@
 cd ${ENDIR}
 if [ x${REPORTS} != xfalse ]
 then
-	${ENDIR}/sar $* -f ${DFILE} > ${RPT}
+	${ENDIR}/sar.sysstat "$@" -f ${DFILE} > ${RPT}
 fi
 
 SAFILES_REGEX='/sar?[0-9]{2,8}(\.(Z|gz|bz2|xz|lz|lzo))?$'