projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.1.0
[platform/upstream/iotivity.git]
/
service
/
things-manager
/
unittests
/
ThingsManagerTest.cpp
diff --git
a/service/things-manager/unittests/ThingsManagerTest.cpp
b/service/things-manager/unittests/ThingsManagerTest.cpp
index
2d018eb
..
980a075
100755
(executable)
--- a/
service/things-manager/unittests/ThingsManagerTest.cpp
+++ b/
service/things-manager/unittests/ThingsManagerTest.cpp
@@
-558,7
+558,7
@@
void MaintenanceResource::maintenanceMonitor(int second)
int res;
std::cout << "Reboot will be soon..." << std::endl;
m_reboot = defaultReboot;
int res;
std::cout << "Reboot will be soon..." << std::endl;
m_reboot = defaultReboot;
- res = system("
sudo
reboot");
+ res = system("
/usr/bin/sudo /etc/init.d/
reboot");
std::cout << "return: " << res << std::endl;
std::cout << "return: " << res << std::endl;