Skip to content

Commit

Permalink
Merge pull request #23 from AleksArt000/main
Browse files Browse the repository at this point in the history
basic changes
  • Loading branch information
ilovethensa authored Oct 31, 2023
2 parents 69796f7 + 0b961d2 commit 0080662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/globals.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
bool TESTING = false;

// Flag for overwriting files
bool OVERWRITE = true;
bool OVERWRITE = false;

// Flag for quiet mode (no verbose output)
bool QUIET = false;
bool QUIET = true;

// Database handles for installed and all packages
sqlite3* INSTALLED_DB = NULL;
Expand Down
4 changes: 1 addition & 3 deletions src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@

// Function to initialize the Soviet Package Manager
void init() {
printf("Getting SOVIET_DEBUG");
msg(INFO, "initializing");
char* debug_env = getenv("SOVIET_DEBUG");
printf("Got SOVIET_DEBUG");

// Set the debugging level based on the environment variable
dbg(3, "DEBUG: %s", debug_env);
DEBUG += debug_env ? atoi(debug_env) : 0;
Expand Down

0 comments on commit 0080662

Please sign in to comment.