=== modified file 'script/execute.c' --- script/execute.c 2009-11-23 15:37:33 +0000 +++ script/execute.c 2009-12-04 21:43:28 +0000 @@ -116,10 +116,11 @@ grub_script_execute_cmdline (struct grub /* Create two strings and set the variable. */ *eq = '\0'; eq++; - grub_env_set (assign, eq); /* This was set because the command was not found. */ grub_errno = GRUB_ERR_NONE; + + grub_env_set (assign, eq); } grub_free (assign);