X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Flists.create_promo.php;h=a5cbed3e77047b8577a2d316f2d24e9a6a770842;hb=dd916657a92132765d59ef7a26a343e56030185c;hp=35a1200f8a5a51fa9dd2232417349a4245111748;hpb=4478f95efc07709dbe0a4415e979ff0347651cf8;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.