Fossil SCM

correct typo in error msg

bch 2009-07-24 03:57 trunk
Commit ce5eb4070225c2898f8c932ad4654020d25c3ff3
1 file changed +1 -1
+1 -1
--- src/db.c
+++ src/db.c
@@ -784,11 +784,11 @@
784784
db_err("unable to find the name of a repository database");
785785
}
786786
}
787787
if( access(zDbName, R_OK) || file_size(zDbName)<1024 ){
788788
if( access(zDbName, 0) ){
789
- fossil_panic("repository does not exists or"
789
+ fossil_panic("repository does not exist or"
790790
" is in an unreadable directory: %s", zDbName);
791791
}else if( access(zDbName, R_OK) ){
792792
fossil_panic("read permission denied for repository %s", zDbName);
793793
}else{
794794
fossil_panic("not a valid repository: %s", zDbName);
795795
--- src/db.c
+++ src/db.c
@@ -784,11 +784,11 @@
784 db_err("unable to find the name of a repository database");
785 }
786 }
787 if( access(zDbName, R_OK) || file_size(zDbName)<1024 ){
788 if( access(zDbName, 0) ){
789 fossil_panic("repository does not exists or"
790 " is in an unreadable directory: %s", zDbName);
791 }else if( access(zDbName, R_OK) ){
792 fossil_panic("read permission denied for repository %s", zDbName);
793 }else{
794 fossil_panic("not a valid repository: %s", zDbName);
795
--- src/db.c
+++ src/db.c
@@ -784,11 +784,11 @@
784 db_err("unable to find the name of a repository database");
785 }
786 }
787 if( access(zDbName, R_OK) || file_size(zDbName)<1024 ){
788 if( access(zDbName, 0) ){
789 fossil_panic("repository does not exist or"
790 " is in an unreadable directory: %s", zDbName);
791 }else if( access(zDbName, R_OK) ){
792 fossil_panic("read permission denied for repository %s", zDbName);
793 }else{
794 fossil_panic("not a valid repository: %s", zDbName);
795

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button