Skip to content

Commit

Permalink
octal literals must be prefixed with "0o"
Browse files Browse the repository at this point in the history
  • Loading branch information
mpd committed Mar 6, 2012
1 parent 9a8b56e commit 7f54dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.coffee
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", 0600, (err, fd) ->
Fs.open (pidfile), "w", 0o0600, (err, fd) ->
Fs.writeSync fd, process.pid

server.listen port

0 comments on commit 7f54dc9

Please sign in to comment.