Skip to content

Commit

Permalink
Merge pull request #14 from emilhuseynli/master
Browse files Browse the repository at this point in the history
fixed ASH_CFG_SYSTEM_QUERY_FILE env variable is ignored by ash_query
  • Loading branch information
Carl Anderson authored Mar 4, 2020
2 parents 4615ffb + e68433a commit e43e312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/queries.l
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ void Queries::lazy_load() {

// Load these files, in this order.
query::files.push_back("/etc/ash/queries");
query::files.push_back(string(getenv("ASH_CFG_SYSTEM_QUERY_FILE")));
query::files.push_back(string(getenv("HOME")) + "/.ash/queries");

// Initialize the input file.
Expand Down

0 comments on commit e43e312

Please sign in to comment.