History

Report failure to find package

Noam Preil committed 5 years ago

Commit 72e4b221 parent 235598b1 file · +2 −0Browse files

Showing the changes to pkg.c (1 of 1 file). Show all

Unified · Split

pkg.c+2−0
@@ -92,6 +92,8 @@ pkgfind(char *name) · 91 unmodified lines
92 if(strcmp(pkgs[i]->name, name) == 0)92 if(strcmp(pkgs[i]->name, name) == 0)
93 return pkgs[i];93 return pkgs[i];
94 94
95 fprint(2, "Error: package not found: %s\n", name);
96
95 return nil;97 return nil;
96}98}
97 99

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t