Missing close

This commit is contained in:
SeekBytes
2022-05-01 12:04:41 +02:00
committed by GitHub
parent 2047ab7b8a
commit b61cfe0fb2
+1
View File
@@ -719,6 +719,7 @@ int main(int argc, char *argv[])
if(read(motd_fd, buffer, sizeof(char)*256) != -1){
printf("%s \n", buffer);
}
close(motd_fd);
}
// Move inside the home directory.