mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 23:47:25 -04:00
Better error message
This commit is contained in:
parent
647d318a3e
commit
ecf2f80525
@ -34,7 +34,7 @@ int main(int /*argc*/, char* /*argv*/[]){
|
||||
tlib::file dir("/sys/net/");
|
||||
|
||||
if(!dir){
|
||||
tlib::printf("ifconfig: error: %s\n", std::error_message(dir.error()));
|
||||
tlib::printf("ifconfig: No network interface\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user