Closed mvo5 closed 6 years ago
Actually, let me think about it for a moment - will there ever be such a 'buggy' situation where there will be two or more snapd snaps in the /var/lib/snapd/seed/snaps/ directory? The following code won't work if there's more than one file found by 'find'. Should we worry about that?
@sil2100 If there are multiple snapd in the seed our seeding code is buggy. We could add code here though that gives a clear error if it finds multiple ones. Happy to do this.
I guess it's not necessary - we'll know instantly when that happens. Thanks!
The shell quoting is too strict so the current script will not find the seeded snapd.