From c77a5acc034770b83e4cdda8c95485c73daafd4b Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 8 Nov 2012 15:52:18 +0200 Subject: [PATCH] bmap: remove useless warning No need to print a warning when copying to a regualr file, it makes little sense and useless. Change-Id: I77ccfe2b0a20e2ad90f97a19fdde1d8a06bd8026 Signed-off-by: Artem Bityutskiy --- bmap | 3 --- 1 file changed, 3 deletions(-) diff --git a/bmap b/bmap index 1141ac9..1af2d4d 100755 --- a/bmap +++ b/bmap @@ -50,9 +50,6 @@ def copy_command(args, log): log.error(str(err)) raise SystemExit(1) - if not writer.target_is_block_device: - log.warning("'%s' is not a block device!" % args.bdev) - start_time = time.time() if not args.bmap: log.info("no block map given (see the --bmap option)") -- 2.7.4