Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Conversation

@swjai
Copy link
Contributor

@swjai swjai commented Feb 2, 2023

No description provided.

@assing
Copy link
Contributor

assing commented Feb 3, 2023

I hope patching script has different name for the file .

@swjai swjai requested a review from assing February 3, 2023 07:32
if e.errno!=2 #except no such file or directory issue. Errno: ENOENT = 2
raise e
# checking if rb_file_path exists. if yes, skip below check. else check.
if File.exists?("/var/opt/microsoft/omsagent/tmp/msft-rb-path") != true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic works if tmp folder is not deleted automatically. Are we sure this file will not be deleted?

@Bhargava-Chary-Chollaty Bhargava-Chary-Chollaty merged commit eba9482 into microsoft:master Mar 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants