Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
this octal literal is failing all of a sudden. whatever)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpd committed Nov 4, 2013
1 parent 9a710c0 commit 2c332ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ process.on 'uncaughtException', (error) ->
console.log "SSL-Proxy running on #{port} with pid:#{process.pid}."
console.log "Using the secret key #{shared_key}"

Fs.open (pidfile), "w", 0o0600, (err, fd) ->
Fs.open (pidfile), "w", parseInt('0600'), (err, fd) ->
Fs.writeSync fd, process.pid

server.listen port

0 comments on commit 2c332ef

Please sign in to comment.