From: Kern Sibbald Date: Mon, 26 Jul 2004 15:15:19 +0000 (+0000) Subject: Fix dev.c return codes X-Git-Tag: Release-7.0.0~9283 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26f6b4a810469774eb17bb3efe49150ce6ac4625;p=bacula%2Fbacula Fix dev.c return codes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1490 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 658ea1aad1..a7141b2c26 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -743,7 +743,7 @@ bool offline_dev(DEVICE *dev) return false; } Dmsg1(100, "Offlined device %s\n", dev->dev_name); - return false; + return true; } int offline_or_rewind_dev(DEVICE *dev) @@ -1110,7 +1110,7 @@ reposition_dev(DEVICE *dev, uint32_t file, uint32_t block) Dmsg1(100, "fsr %d\n", block-dev->block_num); return fsr_dev(dev, block-dev->block_num); } - return false; + return true; }