eget: bug fixed when unnecessary '-s' and RPC URI is given

This commit is contained in:
Matej Sekoranja
2014-09-11 15:18:12 +02:00
parent be623ca927
commit 2b118dac81

View File

@@ -1632,7 +1632,7 @@ int main (int argc, char *argv[])
// if there is only one nPvs and it's a valid URI that has ? character,
// then it's an service (RPC) request
if (validURI && uri.query_indicated)
if (!serviceRequest && validURI && uri.query_indicated)
{
service = argv[optind];
serviceRequest = true;