From 7355feb7fe23d7baac313d497676470aeea88952 Mon Sep 17 00:00:00 2001 From: david hill Date: Fri, 22 Apr 2016 13:54:14 -0500 Subject: [PATCH] fix compile issue --- procmon/processmonitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procmon/processmonitor.cpp b/procmon/processmonitor.cpp index ccf8042d5..4084ed819 100644 --- a/procmon/processmonitor.cpp +++ b/procmon/processmonitor.cpp @@ -1720,7 +1720,7 @@ void ProcessMonitor::processMessage(messageqcpp::ByteStream msg, messageqcpp::IO if (WEXITSTATUS(status) == 0 ) break; - string cmd = "echo " + entry + " >> /etc/fstab"; + cmd = "echo " + entry + " >> /etc/fstab"; system(cmd.c_str()); log.writeLog(__LINE__, "Add line entry to /etc/fstab : " + entry);