Skip to content

Commit

Permalink
Remove personal data from the logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Aug 13, 2012
1 parent 9f78775 commit 4f79cd4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ namespace Helper
vbox_path += "\\Oracle\\VirtualBox";

if (GetFileAttributes(vbox_path.c_str()) != INVALID_FILE_ATTRIBUTES) {
cerr << "NOTICE: Success!!! Installation PATH of VirtualBox is: " << vbox_path << endl;
cerr << "NOTICE: Success!!! VirtualBox is installed" << endl;
//cerr << "NOTICE: Success!!! Installation PATH of VirtualBox is: " << vbox_path << endl;
string new_path = "path=";
new_path += vbox_path;
new_path += ";";
new_path += old_path;
putenv(const_cast<char*>(new_path.c_str()));
cerr << "INFO: New PATH " << getenv("path") << endl;
// cerr << "INFO: New PATH " << getenv("path") << endl;
return (true);
}
else {
Expand Down

0 comments on commit 4f79cd4

Please sign in to comment.