Group :: Monitoring
RPM: hddtemp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: hddtemp-0.3beta15-doublefork.patch
Download
Download
diff --git a/hddtemp/src/daemon.c b/hddtemp/src/daemon.c
index 75e72b9..c456965 100644
--- a/hddtemp/src/daemon.c
+++ b/hddtemp/src/daemon.c
@@ -283,16 +283,6 @@ void do_daemon_mode(struct disk *ldisks) {
setsid();
- switch(fork()) {
- case -1:
- perror("fork");
- exit(2);
- break;
- case 0:
- break;
- default:
- exit(0);
- }
chdir("/");
umask(0);