Fossil SCM
Change two instances of fossil_panic() into fossil_fatal().
Commit
342bd06b6a9a85f07ef0b3216a48285bb37b7842d00e3a4c0aa3f9d307c6a414
Parent
4d6591736e92ec5…
1 file changed
+2
-2
M
src/db.c
+2
-2
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1718,13 +1718,13 @@ | ||
| 1718 | 1718 | if( (bFlags & OPEN_OK_NOT_FOUND)==0 ){ |
| 1719 | 1719 | #ifdef FOSSIL_ENABLE_JSON |
| 1720 | 1720 | g.json.resultCode = FSL_JSON_E_DB_NOT_FOUND; |
| 1721 | 1721 | #endif |
| 1722 | 1722 | if( nArgUsed==0 ){ |
| 1723 | - fossil_panic("use --repository or -R to specify the repository database"); | |
| 1723 | + fossil_fatal("use --repository or -R to specify the repository database"); | |
| 1724 | 1724 | }else{ |
| 1725 | - fossil_panic("specify the repository name as a command-line argument"); | |
| 1725 | + fossil_fatal("specify the repository name as a command-line argument"); | |
| 1726 | 1726 | } |
| 1727 | 1727 | } |
| 1728 | 1728 | } |
| 1729 | 1729 | |
| 1730 | 1730 | /* |
| 1731 | 1731 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1718,13 +1718,13 @@ | |
| 1718 | if( (bFlags & OPEN_OK_NOT_FOUND)==0 ){ |
| 1719 | #ifdef FOSSIL_ENABLE_JSON |
| 1720 | g.json.resultCode = FSL_JSON_E_DB_NOT_FOUND; |
| 1721 | #endif |
| 1722 | if( nArgUsed==0 ){ |
| 1723 | fossil_panic("use --repository or -R to specify the repository database"); |
| 1724 | }else{ |
| 1725 | fossil_panic("specify the repository name as a command-line argument"); |
| 1726 | } |
| 1727 | } |
| 1728 | } |
| 1729 | |
| 1730 | /* |
| 1731 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1718,13 +1718,13 @@ | |
| 1718 | if( (bFlags & OPEN_OK_NOT_FOUND)==0 ){ |
| 1719 | #ifdef FOSSIL_ENABLE_JSON |
| 1720 | g.json.resultCode = FSL_JSON_E_DB_NOT_FOUND; |
| 1721 | #endif |
| 1722 | if( nArgUsed==0 ){ |
| 1723 | fossil_fatal("use --repository or -R to specify the repository database"); |
| 1724 | }else{ |
| 1725 | fossil_fatal("specify the repository name as a command-line argument"); |
| 1726 | } |
| 1727 | } |
| 1728 | } |
| 1729 | |
| 1730 | /* |
| 1731 |