Make execAndWait logs distinct 86/197086/4
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 9 Jan 2019 10:30:19 +0000 (11:30 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 17 Jan 2019 11:13:27 +0000 (11:13 +0000)
Change-Id: I473f37929141288b3dc63dc1c75683d545dac4ec

server/internal-encryption.cpp

index 96b4049..425192a 100644 (file)
@@ -291,11 +291,11 @@ void execAndWait(const std::string &path, std::vector<std::string> &args)
        runtime::Process proc(path, args);
        int ret = proc.execute();
        if (ret < 0)
-               ERROR(SINK, path + " failed for " + args.back());
+               ERROR(SINK, "Executing " + path + " failed for " + args.back());
 
        ret = proc.waitForFinished();
        if (ret < 0 || !WIFEXITED(ret) || WEXITSTATUS(ret) != 0)
-               ERROR(SINK, path + " failed for " + args.back());
+               ERROR(SINK, "Waiting for " + path + " failed for " + args.back());
 }
 
 bool isPartitionTerminated(const std::string &partition)