Merge pull request #522 from HenryJacques/login_pin_fix

really set the --login option when using --pin
This commit is contained in:
Martin Paljak 2015-08-12 16:49:17 +03:00
commit 9cae888dd8
1 changed files with 2 additions and 0 deletions

View File

@ -551,6 +551,8 @@ int main(int argc, char * argv[])
opt_output = optarg;
break;
case 'p':
need_session |= NEED_SESSION_RW;
opt_login = 1;
util_get_pin(optarg, &opt_pin);
break;
case 'c':