diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-11-29 16:43:41 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-11-29 16:43:41 -0500 |
commit | f4d5049b5d74cf907c5c5bba3130306adff0205d (patch) | |
tree | 85e84ffc759b53ade1132d56b1bc4281242335f2 /hash.cxx | |
parent | 478c850f8fd74af2ecadbb68bab95f0949e21ade (diff) | |
download | systemtap-steved-f4d5049b5d74cf907c5c5bba3130306adff0205d.tar.gz systemtap-steved-f4d5049b5d74cf907c5c5bba3130306adff0205d.tar.xz systemtap-steved-f4d5049b5d74cf907c5c5bba3130306adff0205d.zip |
buildrun/caching warning cleanup
Diffstat (limited to 'hash.cxx')
-rw-r--r-- | hash.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -161,9 +161,10 @@ find_hash (systemtap_session& s, const string& script) hashdir += string("/") + result[i*2] + result[i*2 + 1]; if (create_dir(hashdir.c_str()) != 0) { - cerr << "Warning: failed to create cache directory (\"" - << hashdir + "\"): " << strerror(errno) << endl; - cerr << "Disabling cache support." << endl; + if (! s.suppress_warnings) + cerr << "Warning: failed to create cache directory (\"" + << hashdir + "\"): " << strerror(errno) + << ", disabling cache support." << endl; s.use_cache = false; return; } |