blob: 41a4047622948173e16ab03734c686ea9fc5b920 [file] [log] [blame]
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05001From 550b5fbece84dde16ce9910c2cad390ea4a2f5d5 Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Ross Burton <ross.burton@intel.com>
3Date: Mon, 23 Dec 2013 13:38:34 +0000
4Subject: [PATCH] e2fsprogs: silence debugfs
5
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006When executing a script don't echo every command, as we do this for entire
7filesystems at rootfs time.
8
9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
Andrew Geissler82c905d2020-04-13 13:39:40 -050012---
13 debugfs/debugfs.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
William A. Kennington IIIac69b482021-06-02 12:28:27 -070017index b67a88bc..76dd5556 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018--- a/debugfs/debugfs.c
19+++ b/debugfs/debugfs.c
William A. Kennington IIIac69b482021-06-02 12:28:27 -070020@@ -2518,7 +2518,7 @@ static int source_file(const char *cmd_file, int ss_idx)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021 cp = strchr(buf, '\r');
22 if (cp)
23 *cp = 0;
24- printf("debugfs: %s\n", buf);
25+ /*printf("debugfs: %s\n", buf);*/
26 retval = ss_execute_line(ss_idx, buf);
27 if (retval) {
28 ss_perror(ss_idx, retval, buf);