From 8ef4f98d61713e6df84c4faecfeff3348ff4433b Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 8 Jan 2003 18:26:19 +0000 Subject: [PATCH] Add read/write fifo files git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@275 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/findlib/find_one.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/findlib/find_one.c b/bacula/src/findlib/find_one.c index 780bdc5d48..d6fa4f3955 100755 --- a/bacula/src/findlib/find_one.c +++ b/bacula/src/findlib/find_one.c @@ -315,9 +315,9 @@ find_one_file(FF_PKT *ff_pkt, int handle_file(FF_PKT *ff, void *hpkt), void *pkt * a block device, we do a raw backup of it or if it is * a fifo, we simply read it. */ - if (top_level && S_ISBLK(ff_pkt->statp.st_mode) { + if (top_level && S_ISBLK(ff_pkt->statp.st_mode)) { ff_pkt->type = FT_RAW; /* raw partition */ - } else if (top_level && S_ISFIFO(ff_pkt->statp.st_mode) { + } else if (top_level && S_ISFIFO(ff_pkt->statp.st_mode)) { ff_pkt->type = FT_FIFO; } else { /* The only remaining types are special (character, ...) files */ -- 2.39.5