Permalink
Browse files

eaccess typos in confd_ctl.erl - Sergei Golovan

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1254 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
1 parent 4607990 commit fb694a009fab732189ce2dcfa013984c02a62ab5 @klacke committed May 27, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/yaws_ctl.erl
View
@@ -45,7 +45,7 @@ run(GC) ->
" id <~p> on this computer and this user, ~n"
" set another id in the yaws conf file ~n",
[GC#gconf.id]);
- {error, eaccess} ->
+ {error, eacces} ->
%% We're not allowed to open the ctl file
e("Error reading ~s, you don't have access rights to read it",
[yaws:ctl_file(GC#gconf.id)]);
@@ -316,7 +316,7 @@ connect_file(CtlFile) ->
actl(SID, Term) ->
case connect(SID) of
- {error, eaccess} ->
+ {error, eacces} ->
io:format("Another user is using the yaws sid <~p>, ~n"
"You are not allowd to read the file <~s>, ~n"
"specify by <-I id> which yaws system you want "

0 comments on commit fb694a0

Please sign in to comment.