cluster/gnbd/tools/gnbd_export gnbd_export.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: bmarzins at sourceware.org 2006-12-15 20:27:01
Modified files:
gnbd/tools/gnbd_export: gnbd_export.c
Log message:
make it so that the -c and -[u|U] flags are mutually exclusive. Resolves bz 219413
gnbd/tools/gnbd_export/gnbd_export.c +4 -0
@@ -802,6 +802,10 @@return 1 ; } } +if (cached && (uid || uid_program)){ +printe ("the -c option may not be used with the -u or -U option\n" MAN_MSG ); +return 1 ; + }if (timeout && cached){printe ("the -t option may not be used with the -c option\n" MAN_MSG );return 1 ;