Skip to content

Commit 242c66f

Browse files
committed
final commit
1 parent 54677cb commit 242c66f

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ debug: clean
3131
$(CC) -g $(CFLAGS) $(LIBS) $(SRCS) -o $(BIN)$(TARGET)
3232

3333
clean:
34-
rm -rf $(BIN)$(TARGET) bin src/web/mail
34+
rm -rf $(BIN)$(TARGET) bin

src/rx.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int main(int argc, char* argv[]) {
6767

6868
if (argc == 3) {
6969
outputFile.open("src/web/mail");
70-
outputFile << "no mail for you ¯\\_(ツ)_/¯" << endl;
70+
outputFile << "no mail for you<br/>¯\\_(ツ)_/¯" << endl;
7171
outputFile.close();
7272
}
7373

@@ -105,7 +105,10 @@ int main(int argc, char* argv[]) {
105105
outputFile.close();
106106
}
107107
else if (buf[0] == nomail) {
108-
exec("rm src/web/mail");
108+
/* exec("rm src/web/mail"); */
109+
outputFile.open("src/web/mail");
110+
outputFile << "no mail for you<br/>¯\\_(ツ)_/¯" << endl;
111+
outputFile.close();
109112
printf("Mail is gone...");
110113
}
111114

src/web/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
setTimeout(function(){
22
window.location.reload(1);
33

4-
}, 1000);
4+
}, 1250);

0 commit comments

Comments
 (0)