X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Flists.create_promo.php;h=a5cbed3e77047b8577a2d316f2d24e9a6a770842;hb=2839fc70fd4632ab22180792428b51607b361232;hp=35a1200f8a5a51fa9dd2232417349a4245111748;hpb=21c7c593d7100a887f984c49a82c03eb32169fc4;p=platal.git diff --git a/bin/lists.create_promo.php b/bin/lists.create_promo.php index 35a1200..a5cbed3 100755 --- a/bin/lists.create_promo.php +++ b/bin/lists.create_promo.php @@ -24,7 +24,7 @@ $owner = $opt['o']; $owner_user = User::getSilent($owner); if (!$owner_user) { echo "Supplied owner is not valid, aborting.\n"; - exit 1; + exit(1); } // Creates the list.