summaryrefslogtreecommitdiffstats
path: root/src/fuse
diff options
context:
space:
mode:
authorManuel Bentele2020-10-30 11:41:15 +0100
committerManuel Bentele2020-10-30 11:41:15 +0100
commitdad1f25a567e664770b0c3e8ca38a0fbf7a327b9 (patch)
tree8fa13add70c1837f72dd23f74ab3f380bb21bd35 /src/fuse
parent[BUILD] add build options to enable/disable build of dnbd3 components (diff)
downloaddnbd3-dad1f25a567e664770b0c3e8ca38a0fbf7a327b9.tar.gz
dnbd3-dad1f25a567e664770b0c3e8ca38a0fbf7a327b9.tar.xz
dnbd3-dad1f25a567e664770b0c3e8ca38a0fbf7a327b9.zip
[FUSE] removed unnecessary cmdln argument check for sticky mode
Diffstat (limited to 'src/fuse')
-rw-r--r--src/fuse/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fuse/main.c b/src/fuse/main.c
index f4260c0..8963e6d 100644
--- a/src/fuse/main.c
+++ b/src/fuse/main.c
@@ -402,12 +402,6 @@ int main( int argc, char *argv[] )
printUsage( argv[0], EXIT_FAILURE );
}
- /* abort if sticky mode is set and image will not be opened */
- if ( !learnNewServers && image_Name == NULL ) {
- logadd( LOG_ERROR, "sticky mode can only be set if image will be opened.\n" );
- printUsage( argv[0], EXIT_FAILURE );
- }
-
if ( server_address == NULL || image_Name == NULL ) {
printUsage( argv[0], EXIT_FAILURE );
}