diff options
-rw-r--r-- | zet.tlv | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zet.tlv b/zet.tlv index 4841649..5d21b41 100644 --- a/zet.tlv +++ b/zet.tlv @@ -1414,8 +1414,10 @@ > -- until last possible second > local filename = os.tmpname() > local outfile = io.open(filename, 'w') - > write_zettels(outfile) - > os.rename(filename, 'zet') + > if outfile then + > write_zettels(outfile) + > os.rename(filename, 'zet') + > end > end >end - __teliva_timestamp: |