diff --git a/src/finger.c b/src/finger.c
index 7cd6585..18c5a4a 100644
--- a/src/finger.c
+++ b/src/finger.c
@@ -80,13 +80,13 @@ finger_do (Netinfo * netinfo)
 
 	parent = gtk_widget_get_toplevel (netinfo->output);
 	
-	program = util_find_program_in_path ("pinky", NULL);
+	program = util_find_program_in_path ("finger", NULL);
 
 	if (program != NULL) {
-		program_name = g_strdup ("pinky");
-	} else {
-		program = util_find_program_dialog ("finger", parent);
 		program_name = g_strdup ("finger");
+	} else {
+		program = util_find_program_dialog ("pinky", parent);
+		program_name = g_strdup ("pinky");
 	}
 
 	if (program != NULL) {
