From 993aa11dc8f20122b58332cb49085e190ab3a9e0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 21 Feb 2004 21:02:15 -0500 Subject: [PATCH] fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a problem because we got lucky, but let's do things right. Fix from Thomas Woerner at Red Hat.) --- misc/ChangeLog | 6 ++++++ misc/fsck.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index a7adc7e..de05ed0 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-21 Theodore Ts'o + + * fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a + problem because we got lucky, but let's do things right. + Fix from Thomas Woerner at Red Hat.) + 2004-02-03 Theodore Ts'o * filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it diff --git a/misc/fsck.c b/misc/fsck.c index bebf5ee..da85867 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -439,7 +439,7 @@ static int execute(const char *type, const char *device, const char *mntpt, for (i=0; i