Browse Source

Tobias Hintze <th@rocklinux.org>:


			
			
				rocklinux
			
			
		
Tobias Hintze 19 years ago
parent
commit
da9adc2d44
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      package/teha/rescue-stage1-init/init.c

+ 4
- 4
package/teha/rescue-stage1-init/init.c

@ -146,16 +146,16 @@ int untarbz2(const char *arch, const char *trg_dir) {
void die() {
printf("Aieee. I lost all hope. Take that shell!\n\n");
execl("/bin/kiss", "kiss", 0);
perror("kiss");
execl("/bin/sh", "sh", 0);
perror("sh");
_exit(1);
}
void shell() {
printf("Quit the shell to continue in stage 1 loader!\n");
if (!fork()) {
execl("/bin/kiss", "kiss", 0);
perror("kiss");
execl("/bin/sh", "sh", 0);
perror("sh");
_exit(1);
}
wait(0);

Loading…
Cancel
Save