Permalink
Browse files

auto commit

  • Loading branch information...
1 parent ae111d2 commit 32b20f367b210d1843c19bc3a6f57117496a611c @dannegm committed Nov 4, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 update.php
View
@@ -1,4 +1,9 @@
<?php
-exec('sh updategit.sh');
-echo "Auto pull"
+$cmd = exec('sh updategit.sh');
+echo "Auto pull\n"
+if ($cmd){
+ echo "Pull exitoso";
+}else{
+ echo "No se pudo hacer pull";
+}
?>

0 comments on commit 32b20f3

Please sign in to comment.