[tex-live] tlmgr init-usertree returns a warning on success

Ken Brown kbrow1i at gmail.com
Tue Mar 29 20:47:32 CEST 2016

A successful run of 'tlmgr init-usertree' yields the following:

$ tlmgr init-usertree
tlmgr: action init-usertree returned a warning.

That's because action_init_usertree has no return statement, so it 
returns the return value of its last statement, 'mkdir 
("$usertree/tlpkg/tlpobj")'.  That return value is 1 on success, which 
equals $F_WARNING.

I think there should be either a plain 'return', resulting in

   tlmgr: didn't get return value from action init-usertree, assuming ok.

or else 'return $F_OK', resulting in silence.


More information about the tex-live mailing list