Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37726919
en ru br
ALT Linux repositórios
S:0.8.5-alt1
5.0: 0.6.1-alt1

Group :: Monitoramento
RPM: nethogs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: nethogs-0.8.0-debian-geteuid.patch
Download


--- ../orig/nethogs-0.7.0/nethogs.cpp	2009-03-12 22:28:14.000000000 +0100
+++ ./nethogs.cpp	2009-09-29 20:22:58.000000000 +0200
@@ -320,7 +320,7 @@
 		init_ui();
 	}
 
-	if (NEEDROOT && (getuid() != 0))
+	if (NEEDROOT && (geteuid() != 0))
 		forceExit("You need to be root to run NetHogs!");
 
 	char errbuf[PCAP_ERRBUF_SIZE];
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009