Fix smartctrl should not wakeup sleeping hdd

This commit is contained in:
Arne Fitzenreiter
2009-09-10 07:53:12 +02:00
parent 1e29f276cf
commit 6e2dba423e

View File

@@ -28,7 +28,7 @@ int main(int argc, char *argv[]) {
}
sprintf(command, "/tmp/hddshutdown-%s", argv[1]);
sprintf(command, "/var/run/hddshutdown-%s", argv[1]);
FILE *fp = fopen(command,"r");
if( fp ) {
fclose(fp);