Print this page
1765 assert importing pool with number at start

@@ -1986,12 +1986,14 @@
         if (argc != 0) {
                 char *endptr;
 
                 errno = 0;
                 searchguid = strtoull(argv[0], &endptr, 10);
-                if (errno != 0 || *endptr != '\0')
+                if (errno != 0 || *endptr != '\0') {
                         searchname = argv[0];
+                        searchguid = 0;
+                }
                 found_config = NULL;
 
                 /*
                  * User specified a name or guid.  Ensure it's unique.
                  */