X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbinfmt_script.c;h=9e3963f7ebf19f85a1742ff034bbb518d51a6aff;hb=f948cc6ab9e61a8e88d70ee9aafc690e6d26f92c;hp=ab33939b12a7efb8d754fcc80b89bfc88651a33b;hpb=81f8320f624a785d77443ace83391d0fdee695f6;p=pandora-kernel.git diff --git a/fs/binfmt_script.c b/fs/binfmt_script.c index ab33939b12a7..9e3963f7ebf1 100644 --- a/fs/binfmt_script.c +++ b/fs/binfmt_script.c @@ -29,7 +29,7 @@ static int load_script(struct linux_binprm *bprm,struct pt_regs *regs) * Sorta complicated, but hopefully it will work. -TYT */ - bprm->sh_bang++; + bprm->sh_bang = 1; allow_write_access(bprm->file); fput(bprm->file); bprm->file = NULL;