Skip to content
Snippets Groups Projects
Select Git revision
  • 7ef1d906f1383ba2a1bab424cfd3dbc22b7c1269
  • master default protected
  • rednatco-v2
  • base-pairs-ladder
  • rednatco
  • test
  • ntc-tube-uniform-color
  • ntc-tube-missing-atoms
  • restore-vertex-array-per-program
  • watlas2
  • dnatco_new
  • cleanup-old-nodejs
  • webmmb
  • fix_auth_seq_id
  • update_deps
  • ext_dev
  • ntc_balls
  • nci-2
  • plugin
  • bugfix-0.4.5
  • nci
  • v0.5.0-dev.1
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.12
  • v0.3.11
  • v0.3.10
  • v0.3.9
  • v0.3.8
  • v0.3.7
  • v0.3.6
  • v0.3.5
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
41 results

controls.tsx

Blame
  • zs9-idmap-verbosity.patch 911 B
    Index: nfs-utils-1.3.4/utils/nfsidmap/nfsidmap.c
    ===================================================================
    --- nfs-utils-1.3.4.orig/utils/nfsidmap/nfsidmap.c
    +++ nfs-utils-1.3.4/utils/nfsidmap/nfsidmap.c
    @@ -418,13 +418,15 @@ int main(int argc, char **argv)
     		return EXIT_FAILURE;
     	}
     
    +	if (!verbose)
    +		verbose = conf_get_num("General", "Verbosity", 0);
    +	if (verbose)
    +		nfs4_set_debug(verbose, NULL);
    +
     	if ((rc = nfs4_init_name_mapping(PATH_IDMAPDCONF)))  {
     		xlog_errno(rc, "Unable to create name to user id mappings.");
     		return EXIT_FAILURE;
     	}
    -	if (!verbose)
    -		verbose = conf_get_num("General", "Verbosity", 0);
    -
     	if (display)
     		return display_default_domain();
     	if (list)
    @@ -444,9 +446,6 @@ int main(int argc, char **argv)
     		return EXIT_FAILURE;
     	}
     
    -	if (verbose)
    -		nfs4_set_debug(verbose, NULL);
    -
     	key = strtol(argv[optind++], NULL, 10);
     
     	arg = strdup(argv[optind]);