Commit 5423afa8 authored by Aurelio Colosimo's avatar Aurelio Colosimo

arch-gnu-linux: provide a helping message to user in case of fail at startup

parent 602fcd8c
......@@ -276,6 +276,7 @@ int posix_open_ch(struct pp_instance *ppi, char *ifname, int chtype)
if (ioctl(sock, SIOCGIFADDR, &ifr) < 0) {
pp_diag_error_str2(ppi, "SIOCGIFADDR", strerror(errno));
PP_PRINTF(ppi, "Tip: did you run ppsi as super user?\n");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment