Skip to content

Commit

Permalink
careful with those control structures
Browse files Browse the repository at this point in the history
  • Loading branch information
truthtrap committed Jun 2, 2012
1 parent 5defe1f commit 36ad414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def meminfo():
"{0}/server.key".format(mount))
else:
# we do have a postgresql.conf, we must restore (as long as user data lets us)
if 'recovery' in userdata and not userdata['recovery'] == 'no':
if 'recovery' not in userdata or userdata['recovery'] != 'no':
set_recovery_conf()

# and now, create a separate WAL mount
Expand Down

0 comments on commit 36ad414

Please sign in to comment.