Hello,

I'm trying to find, why I'm getting notice from daily to backup
filesystems, which I just dumped. Before getting to source of "dump w",
I realised, that in daily, the grep removing of "Dump these file
systems:" not work, so there are two these two lines in daily output:

Filesystems which need to be dumped:
Dump these file systems:

This patch will remove the second line:

cvs diff -uNp daily
Index: daily
===================================================================
RCS file: /cvs/src/etc/daily,v
retrieving revision 1.97
diff -u -p -u -p -r1.97 daily
--- daily       3 Mar 2023 16:22:57 -0000       1.97
+++ daily       7 Jun 2023 07:03:04 -0000
@@ -137,7 +137,7 @@ next_part "Services that should be runni
 rcctl ls failed
 
 next_part "Filesystems which need to be dumped:"
-dump w | grep -vB1 ^Dump
+dump w | grep -v ^Dump
 
 next_part "Running calendar in the background:"
 if [ "X$CALENDAR" != X0 -a \



BR,
Jiri

Reply via email to