yaml
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled

This commit is contained in:
Your Name 2025-05-25 10:02:45 +12:00
parent 9a141685de
commit 73f85769a2
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,7 @@ on: [push]
jobs:
Build_and_Test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |

View File

@ -203,7 +203,7 @@ namespace dropshell
int rval = system(cmd.c_str());
if (rval != 0)
{
std::cerr << "Failed to download new version of dropshell." << std::endl;
error << "Failed to download new version of dropshell." << std::endl;
return -1;
}
@ -212,7 +212,7 @@ namespace dropshell
uint64_t old_hash = hash_file(parent_path / "dropshell");
if (new_hash == old_hash)
{
std::cout << "Confirmed dropshell is the latest version." << std::endl;
info << "Confirmed dropshell is the latest version." << std::endl;
return 0;
}
@ -316,6 +316,8 @@ namespace dropshell
if (rval != 0)
return rval;
return 0;
rval = install_local_agent();
if (rval != 0)
return rval;