@ -123,8 +123,8 @@ int getprocinfo( int ppid, char cmdline[], char cmd[], char user[] )
return5;
}
fgets(str,1024,fh1);
pos=strstr(str,"USER=")+5;
sprintf(user,"%s",pos);
pos=strstr(str,"USER=");
sprintf(user,"%s",pos+5);
fclose(fh1);
returnretval;
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.