Commit 8c65fa178d5c60fcc5da2258b5f0b0e942d870af

Authored by Silvan Calarco
1 parent 1243a25eba
Exists in master

functions.inc.sh: silence gpgconf --kill gpg-agent execution in trap

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

makedist/functions.inc.sh
... ... @@ -98,7 +98,7 @@
98 98 #[ $MEDIA = "raw" ] && create_raw_filesystem $LOCALSTATEDIR/$MEDIA_NAME $MEDIA_SIZE 1024k $ROOTFS
99 99 [ $MEDIA = "raw" ] && create_raw_disk_image $MEDIA_SIZE 1024k
100 100  
101   - trap "[ $LOOPDEV ] && losetup -d $LOOPDEV; [ -e $MOUNTDIR/proc/version ] && umount $MOUNTDIR/proc; chroot $MOUNTDIR /usr/bin/gpgconf --kill gpg-agent; [ \"$MOUNTDIR_TMPFS\" ] && umount $MOUNTDIR_TMPFS" 0 HUP INT QUIT ABRT KILL TERM
  101 + trap "[ $LOOPDEV ] && losetup -d $LOOPDEV; [ -e $MOUNTDIR/proc/version ] && umount $MOUNTDIR/proc; chroot $MOUNTDIR /usr/bin/gpgconf --kill gpg-agent 2>/dev/null; [ \"$MOUNTDIR_TMPFS\" ] && umount $MOUNTDIR_TMPFS" 0 HUP INT QUIT ABRT KILL TERM
102 102 }
103 103  
104 104 function create_rpm_database() {