Commit 56268f16 authored by Imran Hussain's avatar Imran Hussain

make the pull script do errors better

parent 503dc539
Pipeline #581 passed with stage
in 3 minutes and 10 seconds
<?php
exec("cd ..; git reset --hard HEAD; git pull");
exec("cd ..; git reset --hard HEAD; git pull", $retArr, $retVal);
if ($retVal == 0) {
print(ok);
exit(0)
}
print("not ok\n");
var_dump($retArr);
var_dump($retVal);
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment