History

Report failure to find package

Noam Preil committed 5 years ago

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

Unified · Split

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

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