Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix one compilation warning in pc-usermanager for 10.x, Kris should p…
Browse files Browse the repository at this point in the history
…robably look at the other two to make sure that the logic does not get changed on accident.
  • Loading branch information
Ken Moore committed Nov 7, 2013
1 parent cd8bb9d commit 38bddb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-qt4/pc-usermanager/main.cpp
Expand Up @@ -26,9 +26,9 @@ int main( int argc, char ** argv )
QString chkarg = argv[1];
// Running in a warden jail?
if ( chkarg == "-warden" )
if ( argc == 4 )
if ( argc == 4 ){
w.setWardenMode(QString(argv[2]), QString(argv[3]));
else {
}else{
qDebug() << "Usage: -warden <directory> <ip>";
exit(1);
}
Expand Down

0 comments on commit 38bddb5

Please sign in to comment.