added exec chmod
This commit is contained in:
parent
641fc47d3e
commit
d7661aff25
|
@ -95,6 +95,13 @@ fn main() {
|
|||
exit(1)
|
||||
}
|
||||
|
||||
prog("chmodding ssh folder with exec")
|
||||
execute_chmod_sec := os.execute("sudo chmod -R u+rwx $home_folder/.ssh")
|
||||
if execute_chmod_sec.exit_code != 0 {
|
||||
fail(execute_chmod_sec.output)
|
||||
exit(1)
|
||||
}
|
||||
|
||||
prog("creating www folder")
|
||||
execute_www := os.execute("sudo mkdir $www_folder")
|
||||
if execute_www.exit_code != 0 {
|
||||
|
|
Loading…
Reference in New Issue