diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-09 10:22:44 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-09 10:59:06 +0200 |
commit | 2a2c05e99c47297a8793a54728af8355149d897a (patch) | |
tree | 947bbf740dc514351569a9cae9f64630f94550de | |
parent | e655c33a3c51a0848f98cefefdc0a8358527ecf5 (diff) |
Redirect error message we aren't interested in to /dev/null
-rwxr-xr-x | oowintool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oowintool b/oowintool index 7dff692eb39c..a0ca4f6318e0 100755 --- a/oowintool +++ b/oowintool @@ -32,7 +32,7 @@ sub reg_find_key($) # depending on OS version, this will de-mangle that my $key = shift; $key =~ s| |\\ |; - $key = `cd /proc/registry/ ; ls $key`; + $key = `cd /proc/registry/ ; ls $key 2>/dev/null`; return $key; } |