Add a comment for remove files on interrupt line
This commit is contained in:
parent
32d41d3bf3
commit
26447d6c1b
2
share.sh
2
share.sh
|
@ -10,7 +10,7 @@ else
|
||||||
xdg-open share.txt # Open file in default editor
|
xdg-open share.txt # Open file in default editor
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'rm share share.txt' INT
|
trap 'rm share share.txt' INT # Remove files upon interrupt
|
||||||
|
|
||||||
# Start Python's HTTP server
|
# Start Python's HTTP server
|
||||||
echo "Press Ctrl-C to stop the server when you are done"
|
echo "Press Ctrl-C to stop the server when you are done"
|
||||||
|
|
Loading…
Reference in a new issue