Skip to content

Commit

Permalink
Merge pull request #953 from thomasjacquin/startrails-no-debug-output…
Browse files Browse the repository at this point in the history
…-unless-asked

startrails.cpp: remove ALLSKY_DEBUG_LEVEL
  • Loading branch information
linuxkidd authored Jan 21, 2022
2 parents cfa66ba + 630b3d9 commit 96a06b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/startrails.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,6 @@ int main(int argc, char* argv[]) {

parse_args(argc, argv, &config);

if (config.verbose < 1)
if ((e = getenv("ALLSKY_DEBUG_LEVEL")))
if ((i = atoi(e)) > 0)
config.verbose = i;

if (config.img_src_dir.empty() || config.img_src_ext.empty())
usage_and_exit(3);

Expand Down

0 comments on commit 96a06b4

Please sign in to comment.