Skip to content

Commit

Permalink
Update init.c
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksArt000 authored Oct 31, 2023
1 parent 69796f7 commit ac40540
Showing 1 changed file with 1 addition and 3 deletions.
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 ac40540

Please sign in to comment.