Patchwork [09/14] cli_classic: Remove layout-for-write-only check

login
register
about
Submitter Nico Huber
Date 2016-05-04 11:51:41
Message ID <1462362706-31216-10-git-send-email-nico.huber@secunet.com>
Download mbox | patch
Permalink /patch/4446/
State Accepted
Headers show

Comments

Nico Huber - 2016-05-04 11:51:41
Signed-off-by: Nico Huber <nico.huber@secunet.com>
---
 cli_classic.c | 6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/cli_classic.c b/cli_classic.c
index d23a3a3..aef7693 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -376,12 +376,6 @@  int main(int argc, char *argv[])
 		ret = 1;
 		goto out;
 	}
-	if (layoutfile != NULL && !write_it) {
-		msg_gerr("Layout files are currently supported for write operations only.\n");
-		ret = 1;
-		goto out;
-	}
-
 	if (process_include_args()) {
 		ret = 1;
 		goto out;