]> git.sur5r.net Git - bacula/bacula/commitdiff
Add read/write fifo files
authorKern Sibbald <kern@sibbald.com>
Wed, 8 Jan 2003 18:26:19 +0000 (18:26 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 8 Jan 2003 18:26:19 +0000 (18:26 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@275 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/findlib/find_one.c

index 780bdc5d487b7c2dc1e7d687929292ffdc6fe18c..d6fa4f39557eb5f9b16e7a672b69e5c595b261fa 100755 (executable)
@@ -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 */